Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 9177

How to run an executable file without the EXE extension using a CMD script?

$
0
0

The situation is that I have a portable application that needs to have a set environment variable. Otherwise it tries to set it's settings in the user program data dir.

To avoid running the executable in non-portable mode (to avoid allowing it to run without any parameters), I erased the file's ".exe" extension. But then I cannot run it, neither with the mouse (which I want) or through the start command.

Is there any way to run an executable file that has no ".exe" extension?


Viewing all articles
Browse latest Browse all 9177

Trending Articles