Archive: Path Manipulation macro


Path Manipulation macro
Hello.
thanks again for this forum witch help me a lot.

here's the problem.
when i use the macro as:
Push "$INSTDIR"
call AddToPath
it works well


but when i use:
Push "$INSTDIR\subfolder\subsub"
call AddToPath
it doesn't works

any idea ?

++


ok found it

the folder i want to be path doesn't exist.
i created 2 lines below.

so if the folder you want to path ins't created, the function doesn't work.

++