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.

I have been looking for a way to run dos batch files from the cygwin command line without having the enter the extension.

Would that be possible?

Currently, I have to enter the extension otherwise cygwin does not find the batch file.

share|improve this question
    
Why do you want that? Anyway if your batch file is file.bat, try: 'cmd /C file' –  golimar Jan 11 '13 at 10:18
    
As a work around you can add alias command='command.bat' in your shell .profile –  kode Feb 8 at 22:25
add comment

migrated from stackoverflow.com Dec 20 '12 at 5:25

This question came from our site for professional and enthusiast programmers.

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.