You are here

BAT To EXE Converter

8 posts / 0 new
Last post
Schvenn's picture
Last seen: 6 years 11 months ago
Joined: 2008-06-19 14:19
BAT To EXE Converter

Want to create your own?
I don't want to add dozens of applications to the already full suite of PortableApps.
However, I already have one program I live and die by, that I had on my USB key: Total Commander (
It's the only Shareware program I will ever use.
I even registered it.
Go figure!

Anyway, once I had TC configured to run on a USB key, I wanted to add it to the PA menu, so I needed to find an easy way of doing this.
The challenge was that TC has 2 exe files in it's root directory, so I couldn't simply add a TOTALCOMMANDERPORTABLE directory within PA, because it would add both EXE files, assuming they would both work.

While this works for most programs that are fully portable to begin with, I wasn't satisfied with having an irrelevant menu item in PA due to the extra EXE file.
So, I went on the hunt for a BAT to EXE converter.
I found this one:
The authour's site is:

I moved the full TC program into a directory like this: \PortableApps\TotalCommanderPortable\App\TotalCommander

I used my favorite image editor IrfanView ( to grab an icon from TC so that I could add it to the menu, as well.
Oh, and before all you wannabe lawyers get all up in arms, this isn't illegal.
The icon is fully available anywhere and free to share, so don't even start.

Next I created a BAT file to run TC from it's new directory using notepad:


I then used BAT-To-EXE-Converter to change it into an EXE file (ghost mode) and gave it the TC icon, so that it would look pretty on the menu.
I erased the ICO and BAT file and I was done.

Now I have a Total Commander Portable menu item in PA and it runs my pre-configured Total Commander within the Portable Apps menu, with all my dozens of pre-configured plug-ins installed and nobody is any the wiser!
Well, except for those of you reading this thread, of course.

Since Bat-To-EXE-Converter worked so well, I also added it to a sub-menu of PA, so that I could make more in the future, should I so choose.

I hope some of you find this helpful.

Bobert's picture
Last seen: 14 years 3 months ago
Joined: 2008-06-10 20:43

Excellent!! I have .bat files startup on my usb drive, and the cmd windows always annoy me, and this way i can have icons, too! Thanks a ton.

There's no place like

abushcrafter's picture
Last seen: 13 years 8 months ago
Joined: 2008-05-12 13:39

I love that app toooooo............................

Last seen: 15 years 4 months ago
Joined: 2007-09-22 13:20
A slightly easier solution...

if you just want Icons, you can just create a shortcut to the bat file and change the shortcut's icon, then hide the bat. This doesn't fix the cmd window, though.

wk's picture
Last seen: 11 months 12 hours ago
Joined: 2007-09-05 12:31
...but it´s not recognized by

...but it´s not recognized by PAM till now, maybe in a version to come

"Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis .." Friday Next -
"May The Schwartz be with You!" Yogurt the Yoda

kai.inouye's picture
Last seen: 12 years 5 months ago
Joined: 2008-02-03 20:12
Thanks a lot!

Thanks a lot!

r.andom's picture
Last seen: 15 years 9 months ago
Joined: 2007-11-12 15:11

If you like a dual-panel file manager like Total Commander, there's one that is already in PAF format: FreeCommander Portable. It integrates into the PortableApps menu. Unfortunately, this application is not open source, but freeware.

digitxp's picture
Last seen: 12 years 8 months ago
Joined: 2007-11-03 18:33
And otherwise,

you can use UltraMaGe Portable or DoubleCommanderPortable (both which I am currently not developing and are a bit out of shape yet still functional).

Insert original signature here with Greasemonkey Script.

Log in or register to post comments