How do I execute a file in Cygwin?

后端 未结 9 1211
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-03 17:26

How can I execute a.exe using the Cygwin shell?

I created a C file in Eclipse on Windows and then used Cygwin to navigate to the directory. I called gcc on

9条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-03 18:21

    When you start in Cygwin you are in the "/home/Administrator" zone, so put your a.exe file there.

    Then at the prompt run:

    cd a.exe

    It will be read in by Cygwin and you will be asked to install it.

提交回复
热议问题