Quote:
Originally posted by jcortes a batch file is not that hard to make expecially to make it open a program all you do it ud CD to change the directory to the folder that the exe is in then once you are in that folder say C:\windows\sytem32\> you then run the command of the exe simly like this C\windows\system32\>cmd.exe and it will run |
The path statement provides additional filepaths to search through when attempting to run an exe.
After searching through the working directory, windows searches for the exe in the directories listed in the PATH environmental variable.
Type path in a cmd.exe window to view the directories.
Type set path=c:\dir1;c:\dir2 to change the path variable.
Type set path=%path%;C:\dir1 to append to the path statement.
By default xp's system32 and windows directories are added to the path statement. So you can execute cmd.exe from any working directory.