Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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. –  130490868091234 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
add comment

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.