For example, I want to create a Potatoes.exe file. I don't need it to do anything else, just to be there opened. I don't want it to close by itself.

  • 1
    why you want worthless utility which take resources and do nothing? – mumair Nov 21 '15 at 22:53
  • 1
    @MuhammadUmair basically I have an app called Discord which detects games by reading active .exe files. If there's for example a "Minecraft.exe", it will say "Playing Minecraft". So it's expected to show the name of the game whenever you run it, something that doesn't happen for Minecraft. I decided to just create my own .exe file then to explore this further and and Discord indeed shows the name when running the fake Minecraft.exe. The whole problem with Minecraft not using an .exe in the first place is obvious, as it is a game made using java. I was just curious. – Anonymous Nov 22 '15 at 3:52
  • This is necro, but the correct answer is using the nop_continue exe from here: github.com/myfreeer/nop/releases – beppe9000 Mar 16 at 13:25

I'd suggest creating a batch file (by opening Notepad and saving as the file with .bat extension)

@echo off
pause > nul

and converting it to executable file (.exe) with one of the thrid-party batch to executable file type convertors [1] [2] [3].

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.