You are here

CHDIR: Parent

2 posts / 0 new
Last post
sgt-d
Offline
Last seen: 5 years 10 months ago
Joined: 2007-04-04 10:20
CHDIR: Parent

i am reworking some of my own software so that they work from the PortableApps menu.

problem: when you click a link on the menu, it does NOT change to the directory that contains the exe.

for example:

B:\PortableApps\StartPortableApps.exe
B:\PortableApps\Sample\Test.exe

if i manually change in to the sample folder and double click test.exe it runs FROM the sample folder.

but if i launch test.exe from the PortableApps Start Menu, it is NOT changing to the sample folder --- instead it is running from the B:\PortableApps\ folder, the same location as StartPortableApps.exe.

most of my apps rely on being run from their current location and depend on existing sub-folders and files to work normally.

can this behavior be changed so the PortableApps Start Menu does a CHDIR to the parent folder containing the EXE that is going to be launched?

this would avoid me having to re-build all of my past EXE's and should have no negative impact AT ALL on existing apps designed for PortableApps.

let me know asap!

thanks,

/sgt

Simeon
Simeon's picture
Offline
Last seen: 9 years 6 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Wait a couple of days

till the new version of the menu comes out or use the beta2.
Its only beta3 who has this problem.

"Physics is like sex. Sure, it may give some practical results, but that's not why we do it." - Richard P. Feynman

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Log in or register to post comments