You are here

Running a batch script when portable apps is started

2 posts / 0 new
Last post
matthewfl
Offline
Last seen: 14 years 7 months ago
Joined: 2009-08-17 20:06
Running a batch script when portable apps is started

I am looking to run a batch script when portable apps is started to set some environment variable to add some of my command line programs to the path. What is the best way to do this, I was thinking of making the script start PA after it has set the path is this ok? or is there something else?

digitxp
digitxp's picture
Offline
Last seen: 12 years 6 months ago
Joined: 2007-11-03 18:33
(insert original title here)

I recommend one of these two (fyi: I haven't been here in a year or so, so this may not be accurate):

  1. Edit the autorun.inf file so that the batch file launches instead of StartPortableApps.exe and have the batch script launch that when it's done, or
  2. I think there's an autostart function in the latest beta menu, so you might be able to put your batch script in a folder under the PortableApps folder and then hide it in the menu after marking it to start with the menu.

Say, what kind of command-line programs?

Insert original signature here with Greasemonkey Script.

Log in or register to post comments