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?
You are here
Running a batch script when portable apps is started
August 17, 2009 - 8:10pm
#1
Running a batch script when portable apps is started
August 30, 2009 - 1:47pm
#2
(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):
- 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
- 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?