ner Posted May 17, 2010 Posted May 17, 2010 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
Sp0iLedBrAt Posted May 17, 2010 Posted May 17, 2010 Have you tried cd c:\Windows from Command Prompt?
ner Posted May 17, 2010 Author Posted May 17, 2010 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
Sp0iLedBrAt Posted May 17, 2010 Posted May 17, 2010 (edited) 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, 2010 by Sp0iLedBrAt
ner Posted May 17, 2010 Author Posted May 17, 2010 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now