Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an executable. I want to start that program in a different folder, rather than starting it in my current folder. Shortcut does have an option where you can specify where you want to start the program. How to do it command line. Thanks.

share|improve this question
Can you clarify your question? When you use the command line the "start in" folder is whatever folder you where in when you started the program, your question does not make sense as-is, could you re-word it or add more details? – Scott Chamberlain May 14 '13 at 6:55

If I understand your question you want to change the current directory before starting a program from the command line.

If that is what you want done just do a cd your\path\here followed by a & then your program.

For example

cd /D C:\Users & dir

Will change the active directory to C:\Users (the /D is so it will change drive letters if necessary) then do the dir command in that folder.

share|improve this answer

Execute in command line

full path + your.exe

example : D:\somefolder\test.exe [Enter]

Or create shortcut in Windows

  • Open 'Windows Explorer' and goto the app's folder Right click on
  • the fileapp -> Choose 'Send to' -> Choose 'Desktop (create shortcut)'

    So you can execute the app from your desktop

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.