Quoting wouter van ooijen : >> Windows 2000, XP, Vista go to system settings (right-click on >> "(My) Computer"->Preferences->Advanced, click the >> "Environment Variables. You can change path for your current >> account only or system-wide. > > OK, but how to do that automatically, in a script? > > Wouter van Ooijen do you mean the computer has already booted up and now in a script that you're running you want to add to the path? If you're using DOS batch files/scripts this is how: set path=%path%;c:\folder_name_goes_here or set path=c:\folder_name_goes_here;%path% -Mario ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist