im useing diablo2 as an example, just replace diablo with what your file names are
Get Bat-To-Exe-Converter
http://www.download.com/Bat-To-Exe-Converter/3000-2069_4-10555897.html
Make a new folder the G:\PortableApps\
im going to name mine d2
enter the folder
Copy the program FOLDER into this directory
G:\PortableApps\D2\Diablo II
now make a notepad file in the G:\PortableApps\D2\ directory
copy or write this in do not write in the ( )
cd Diablo II\ (folder containing program)
Diablo II.exe (name of exe that starts the program)
goto save as and name it DiabloII.bat (add the .bat)
save it
open your Bat-To-Exe-Converter
for batchfile navigate to the .bat file you just made
you dont need to fill in anything else but at the bottom theirs a Ghost Application box, tick it unless you want an annoying box opening with your program
take your new compiled exe and put it in your G:\PortableApps\D2
now open your portable apps launcher and click options and refresh app icons
as you see, your newly compiled exe is saying use me!
if you want to use your original icon that the program had grab icon sucker 2.0
http://www.download.com/Icon-Sucker/3000-2195_4-10053519.html?tag=mncol&...
some programs (winamp for example) your going to have to make another bat
in the notepad its
taskkill /f /im winamp.exe (process name)
you can find the process name by useing ctrl alt delete and looking under process's
this guide may be posted anywhere but you must give me credit as Givemhell
your also welcomed to revise it, and repost but once again, as the original poster i deserve the credit
mod's feel free to sticky this
Interesting technique.
But, while it may allow you to launch some programs from your Portable Apps Menu, it does not take care of registry entries, initialization parameters, or files & folders left behind.
If making programs portable was so simple, this site would have had thousands more applications running by now.
But keep on thinking,you may find yourself contributing much through your future effforts.
Sorry, but everything is all wrong about this. If you search with the nice search tool at the top, you'll find bat-to-exe converter has already been suggested a number of times, and it is just not at all suitable. Your method will leave things behind, not follow the PortableApps.com Format at all, and is also not really applicable to the way we do things here. It also seems to me that you are being rather presumtuous, as this is not the sort of thing that we would sticky - have you read the forum guidelines? If you had searched, you would have found very similar posts, though.
Sorry if I sound cutting, but I think it's sadly the only way to deal with it. You really should read guidelines first. We do, however, like having contributers, and if you would like to contribute apps, I would suggest that you read Creating a Portable App: A Guerilla Field Guide.
And welcome to PortableApps.com!
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
I must agree, you sound cutting
I thought alanbcohen covered it well enough
Tim
Things have got to get better, they can't get worse, or can they?
when I followed the Add new comment link...
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
what registry entries are you looking for? ive never had a problem running any program like this, the only problem i have faced is the winamp's process not completely shuting down as for the "initialization parameters" right click the compiled exe, properties and add them under target -w for windowed ect, and folder left behind? the program can navigate to them and if you need other exe's lauched make them yourself
ive got every program i need "portableised" but i also use a 500gig external HDD and rewrite windows weekly to get maximum performance
what am i leaving behind? this method is used to make anything portable with out the hassle, when i 1st came across this i wasnt happy that i couldn't make my own shortcut to launch the programs i need,
and i did run a search but i didnt search for bat to exe
>... but i also use a 500gig external HDD and rewrite windows weekly to get maximum performance
lol first time i hear s.o. do this - but much easier to get maximum performance without rewriting the operating system weekly:
use linux
A single death is a tragedy; a million deaths is a statistic.
trying, ive got a system for it and im totally submerging myself to it here soon, compatibility issues with the software i use holds me back
but my windows cd is custom, all i do it start it and let my scripts do the rest, i normaly pop it in before school and come back to a fast pc, doesnt bother me, most think im crazy for it but its w/e
WEEKLY? Holy moly, that's gotta put some wear and tear on his hard drive.
Also, not just Linux, but Vista is a lot better in this area, as well. Where XP irreversibly loses performance after a couple of months, Vista's performance has been stable in my experience. My computer runs just as fast now as when I first installed Vista.
Very few are properly portable (i.e. leave nothing at all behind), and even those that are won't (normally!) be in the PortableApps.com Format, for data backups, etc. There is also often the issue of absolute paths and changing drive letters.
You could try using RegShot to find out what's left behind. It's very helpful. Read the Guerilla Field Guide to find out more about it all.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
nope look at the command
right now you would be looking in the G:\PortableApps\D2 where the bat file is created
cd Diablo II\
you tell cmd to enter the folder diablo II
Diablo II.exe
the name of the exe
the drive letter will not matter using this method UNLESS you store the program folder elsewhere like in the root
il look into the registry but i hate playing with it because the more you add to it it affects the speed and adding unnecessary values isnt necessary correct?
But most programs these days store there setting in appdata or the registry..... So even though the exe is on your drive it still stores your settings and leaves data on the host computer.....
iLike Macs, iPwn, However you put it... Apple is better ^_^
"Claiming that your operating system is the best in the world because more people use it is like saying McDonalds makes the best food in the world..."
I think you need to learn a bit more.
You have to be careful when using an app that will convert any normal app an make it portable.
I think this kind of thing is not a good idea.
1: the most important thing to note is that making any app portable is illegal. this is due to the fact that it usually breaks the license of the app you want to make portable, unless it is stated otherwise, you have permission to or it is opensorce.
2: programs like this can't make an app truly portable. have you checked that the portable apps you have created using this program are truly portable. do they leave any registry entrees behind on the host computer.
Take it or leave it but having an app like this actually goes against the basic principle idea of what PA is all about.
An Old Irish Blessing
May the road rise up to meet you. May the wind always be at your back. May the sun shine warm upon your face, and rains fall soft upon your fields. And until we meet again, May God hold you in the palm of His hand.
MickeyJ4J
yeah, not good, u will probably leave trace on local hdd and registry ...
A single death is a tragedy; a million deaths is a statistic.
Why's everybody using the batch to EXE creator these days?
I feel cheated on that everybody's using it and nobody's thanking me for linking to it.
It's called a laptop!
:->
I made this half-pony, half-monkey monster to please you.
Hoe Imusing you sure got a sense of humour. but u are totally right.
An Old Irish Blessing
May the road rise up to meet you. May the wind always be at your back. May the sun shine warm upon your face, and rains fall soft upon your fields. And until we meet again, May God hold you in the palm of His hand.
MickeyJ4J
All your batch file does is make the program appear on the Portable Apps menu. it does nothing to actually make the application portable, if you had looked in the posts, you would see that *i* suggested something similar (except it actually replaced and removed registry entries).
All you are doing here is making an exe that runs an exe. with C++, you can do that with just System("blah\blah.exe");
Although i appreciate the effort, the batch file accomplishes little.