Append [TARGETDIR] variable to system PATH variable

Append [TARGETDIR] variable to system PATH variable

Post by cnathaid » Fri, 17 Aug 2007 03:54:11


I have written a simple command line application in C# and created the
accompanying setup project in VS 2005.

When the user installs the application on the his/her machine, I would
like the path
[TARGETDIR]bin to be added to the machine Environment PATH variable.

Is there an easy way to do this? Any help is greatly appreciated.



1. Append entry to path system variable

2. Append Path Statement for System Level Environmental Variables

I work with a program that has an add-on module that only requires a
modification to the environmental variables PATH statement no installation.
I'm looking to use a VBScript to append the PATH statement in the System
Vaiables for that workstation.
I need to add "J:\MyProg\Folder;J:\MyProg" to the PATH statement. I'm still
new at this VBScripting but it would make my life easier instead of running
to all the machines and added this setting.

Any help or suggestions are great.
rob bartley

3. What has priority: PATH from User variables or system variables?

4. how to add a large bulk of path into system path environment variable?

5. System path environment variable / truncated path

6. Trying To Append String Variable To Another String Variable

7. how to append variable to url which already has variables

8. Append Variables to Variables

9. append variables to macro variable with loop

10. Trying to append to our current PATH variable

11. trying to append to our existing PATH variable

12. appending to path environment variable

13. Trying to append to our current PATH variable