bnedescu
-
Total Posts
:
3
- Scores: 0
-
Reward points
:
0
- Joined: 11/21/2008
-
Status: offline
|
Add an entry to system path variable
Friday, November 21, 2008 10:20 PM
( permalink)
This script will add an entry to system path variable. Save the next script as a .bat file. The script calls an .exe file that will do the job. You need to place modpath.exe into the same folder as the .bat file. Get modpath.exe from here: http://legroom.net/software/modpath (to download it, click on "ModPath AutoIt Binary")
START modpath.exe /add "C:\Program Files\YourProgram\sys\exe\"
EXIT
The /del parameter will remove the same directory if it already exists in the path
START modpath.exe /del "C:\Program Files\YourProgram\sys\exe\"
EXIT
Enjoy!
<message edited by bnedescu on Friday, November 21, 2008 10:47 PM>
|
|
|
|