May 17, 201016 yr Hi, I have a menu that sits within the system32 dir, and i want to call a program that lives in the windows dir, but i can not find the command to run to switch from windows\system32 to windows\***.exe
May 17, 201016 yr Author Have you tried cd c:\Windows from Command Prompt?yeah x:\windows worksput i want to call from cmd fileso will it bex:\windows\programname.exe
May 17, 201016 yr You could also try %SYSTEMROOT% , as well as %SystemDrive%; it should point to the Windows folder. According to this http://en.wikipedia.org/wiki/Environment_variable , \WINDOWS should be used for XP. Edited May 17, 201016 yr by Sp0iLedBrAt
May 17, 201016 yr Author ok thanks i fund is easier to call a batch file to do the cd changes and start the program working now thanks for your help
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now