Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.
Computer Hope forum e-mail issues and down time
0 Members and 1 Guest are viewing this topic.
Here's my mountain of code to do the job I was after...Code: [Select]@echo offset vara=%PATH%set varb=;%SystemRoot%\sysfilesset varc=%vara%%varb%setx PATH %varc% -mset vara=set varb=set varc=not really sure the set vara=, set varb=, set varc= is necessary.
@echo offset vara=%PATH%set varb=;%SystemRoot%\sysfilesset varc=%vara%%varb%setx PATH %varc% -mset vara=set varb=set varc=
Nope. To add \dir to path: (you append it)set path "%path%;\dir"see here:http://www.google.co.uk/search?source=ig&hl=en&rlz=&=&q=setx+path&btnG=Google+Search&meta=lr%3D
setx PATH "%PATH%;C:\Windows\newdir" -m