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

How can I use my cygwin terminal on Windows 7 to execute Windows programs as I would normally do using the Windows cmd terminal?

It seems like there are programs that only work when executed from the directory where the .exe file lies. I would like to be able to execute them from where the input data files are, but it seems adding them to the $PATH won't work, probably due to dir names like /Program Files (x86)/. Any ideas?

share|improve this question
    
What problem are you facing? That normally works out of the box?! – mpy Jun 2 '13 at 15:51
    
It seems like there are programs that only work when executed from the directory where the .exe file lies. – 719016 Jun 2 '13 at 17:19
1  
And these work with cmd? Can't you just cd into the directory in cygwin (cd /cygdrive/c/...) and start the program there? – mpy Jun 2 '13 at 17:25

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.