0

I have created several .exe shortcuts on my drive using Batch To Exe Converter for ease of access. (See "Integrating non-portable apps into the PortableApps Platform")

So for example, to make a shortcut to git-gui, I made the following batch .bat file, then converted it to an exe using Batch To Exe Converter.

cd cmd & git-gui.exe

The issue is that the .exe shortcut seems to stay in memory even after the main program closes. As a result, I can't safely eject my drive due to it being "in use". Why won't my shortcut exit once it's done running?

Shortcut running in memory after running

1 Answer 1

1

The CMD shortcut is waiting for your main program to exit. You need to use the start command to run it instead.

cd cmd & start git-gui.exe

Source: Why won't cmd exit after execution of batch file?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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