You are here

BAT To EXE Converter

8 posts / 0 new
Last post
Schvenn
Schvenn's picture
Offline
Last seen: 7 years 6 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 (http://www.ghisler.com).
It's the only Shareware program I will ever use.
I even registered it.
Go figure!
LOL

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:

http://www.download.com/Bat-To-Exe-Converter/3000-2069_4-10555897.html#r...
The authour's site is: http://www.f2ko.de/English/index.php

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

I used my favorite image editor IrfanView (www.irfanview.com) 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:

CD APP
CD TOTALCOMMANDER
TOTALCMD.EXE

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
Bobert's picture
Offline
Last seen: 14 years 10 months ago
Joined: 2008-06-10 20:43
Nice

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 127.0.0.1

abushcrafter
abushcrafter's picture
Offline
Last seen: 14 years 3 months ago
Joined: 2008-05-12 13:39
I

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

Theborg3of5
Offline
Last seen: 15 years 11 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
wk's picture
Offline
Last seen: 1 year 6 months 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
kai.inouye's picture
Offline
Last seen: 13 years 1 week ago
Developer
Joined: 2008-02-03 20:12
Thanks a lot!

Thanks a lot!

r.andom
r.andom's picture
Offline
Last seen: 16 years 4 months ago
Joined: 2007-11-12 15:11
Alternative

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
digitxp's picture
Offline
Last seen: 13 years 3 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