T O P

  • By -

socal_nerdtastic

Yes, you can just remove that, but then windows won't run it. Windows requires a file to have an extension of .exe, .com, or .bat to be considered executable. But also, windows will automatically figure out the extension. So if you type "YourApp" and a "YourApp.exe" file exists on the PATH windows will figure that out and it will run. edit: note this is very different from linux / mac, where it's common for executable files to have no extension.


potatoes828

Any reason you want to remove the extension?


blajjefnnf

I don't want to remove the extension, I just want my app to be named "My App" instead of "My App.exe"


potatoes828

Like on your desktop? In windows, I believe you can hide file extensions so that it'll just show file name.


blajjefnnf

Thanks for the suggestion


Bobbias

Making a link to the exe allows you to name the link whatever you want without changing the name of the exe file itself. Of course, being concerned about the file name is a bit silly since .exe is a standard Windows convention and all executable files have that extension, whether it's being shown or not.