Road to 2.0: Help test the PA.c Platform 2.0 Beta 5 + PA.c Updater or read up on PA.c Format 2.0 and PA.c Installer 2.0.3.
Now you can make apps portable without writing a single line of code with the PortableApps.com Launcher 2.0.

Support for .bat as applications

beppegg - January 29, 2010 - 12:01pm

Hi!!

I'd just wanted to know if the platform supports/will support .bat files as applications. For instance, I'm using a XMPP application named PSI that needs a particular enviroment variable to run portable, so I use a .bat file to set that variable before launching the app. Or I've to pass some parameters to a java program (javaw.exe -jar programName.jar --parameterToBePassed).

It would be great if I can make PortableApps Menu handle those kind of applications!

Thank you very much for all your help and hard work!


The Platform will never have

The Platform will never have support for .bat applications to be added to the menu.

However, you probably already know this, but the platform reads .exe's, so you can convert your batch file to a exe

Google around for "bat2exe"

However, I recommend learning NSIS, it gives you endless possibilities inside windows. It can do everything batch files can do and much more.

http://portableapps.com/apps/development/nsis_portable

Siggys waste Bandwidth... that's why I have one.

Hmm? The platform already has support for .bat applications

The platform already has support for .bat applications and it can be easily configured by editing the appinfo.ini file.

Harmony and understanding; sympathy and trust abounding;
Mystic crystal revelations and the mind's true liberation.

Hoooray for backwards

Hoooray for backwards compatibility!!

I meant by default. The

I meant by default. The Platform searches for exe's without appinfo.ini's too. But not .bat's. It requires appinfo modding :/

Siggys waste Bandwidth... that's why I have one.

I dig but

editing of .ini and even .bat files requires mega support resources something that unfortunately isn't contextual in terms of the menu and website, all you get is "Support" & "Forum".

Please direct your attention

Please direct your attention to this Sticking out tongue
HowTo: Add batch files to the PortableApps.com Platform

Popular content