Can't open C .exe from cmd ... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can't open C .exe from cmd ...

I just tried to open a C .exe via console (Windows). Although I can start it normally with a mouse click, when I type the name in the cmd window, all that happens is a new empty cmd window pops up. Does anybody have an idea what might be wrong?

1st Dec 2018, 5:07 PM
HonFu
HonFu - avatar
4 Answers
+ 1
...for the executable (if you know it's C, I assume you may have the source code?).
1st Dec 2018, 5:52 PM
Kirk Schafer
Kirk Schafer - avatar
0
If you don't have source, I might have to link you to an OS forum :)
1st Dec 2018, 5:28 PM
Kirk Schafer
Kirk Schafer - avatar
0
Source?
1st Dec 2018, 5:40 PM
HonFu
HonFu - avatar
0
Yeah, but it's just a regular 'Hello World', nothing of which you'd expect any trouble. And since the exe works fine when you mouseclick...
1st Dec 2018, 5:54 PM
HonFu
HonFu - avatar