You are here

Support for .bat as applications

7 posts / 0 new
Last post
beppegg
Offline
Last seen: 13 years 7 months ago
Joined: 2010-01-29 10:52
Support for .bat as applications

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!

gluxon
gluxon's picture
Offline
Last seen: 4 years 2 months ago
Developer
Joined: 2008-06-21 19:26
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.

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

solanus
solanus's picture
Offline
Last seen: 10 years 3 weeks ago
Joined: 2006-01-21 19:12
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.

I made this half-pony, half-monkey monster to please you.

cransky
Offline
Last seen: 14 years 8 months ago
Joined: 2010-01-28 06:49
Hoooray for backwards

Hoooray for backwards compatibility!!

gluxon
gluxon's picture
Offline
Last seen: 4 years 2 months ago
Developer
Joined: 2008-06-21 19:26
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 :/

cransky
Offline
Last seen: 14 years 8 months ago
Joined: 2010-01-28 06:49
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".

sar3th
sar3th's picture
Offline
Last seen: 10 years 9 months ago
Joined: 2009-02-13 03:57
Please direct your attention

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

Log in or register to post comments