where should I save batch files -
i've written a.bat file , want use @ command prompt. example i've written "d:" in a.bat file. should save file when write "a" in command prompt , goes drive d ?
if looking execute .bat file command prompt regardless of command prompt's current path, need save .bat file in directory included in path system variable (assuming using windows).
for example
if a.bat saved in c:\mydir\mysubdir
c:\>a.bat execute (i.e. directory change d:> if c:\mydir\mysubdir in path system variable. if not, message follows
'a.bat' not recognized internal or external command, operable program or batch file.
the path variable populated few paths default, such c:\windows\system32. can add path on system path variable using instructions contained in link below (article windows xp, largely same win 7/8 once system properties).
Comments
Post a Comment