Is it possible to use the close or kill process to close any of the portable app launchers, but by doing so, this still closes the actual program properly?
ie. close/kill firefoxportable.exe and it closes the firefox.exe program as well
New: streamWriter (Jun 28, 2024), Platform 29.5.3 (Jun 27, 2024)
1,100+ portable packages, 1.1 billion downloads
Please donate today
Is it possible to use the close or kill process to close any of the portable app launchers, but by doing so, this still closes the actual program properly?
ie. close/kill firefoxportable.exe and it closes the firefox.exe program as well
The correct way to close an application is to send a WM_CLOSE message to it. In the case of Firefox Portable, you should send a WM_CLOSE to firefox.exe. Once closed the launcher automatically cleans up (if needed) and then closes itself within about 2 seconds.
Sometimes, the impossible can become possible, if you're awesome!
so is there a way to then close the process automatically from PSTART using a program using like nircmd.exe and the closeprocess opeation? Or is there someway to make a launcher which you can run that automatically does this?
Create a shortcut to nircmd, right click the shortcut & select properties. At the end of target add "closeprocess firefox.exe" (obviously without "). Add this shortcut to PStart, edit the properties of the shortcut within pstart to always run upon exit.
---------------
Teen1: Oh, here comes that cannonball guy. He's cool.
Teen2: Are you being sarcastic, dude?
Teen1: I don't even know anymore.
"In three words I can sum up everything I've learned about life: it goes on." -- Robert Frost
"In three words I can sum up everything I've learned about life: baby ain't mine." -- Adam Holguin
but i think you misunderstand why i want to close the "launcher" as apposed to the exe file. By closing the EXE, it leaves all my personal settings on the computer which the launcher wraps (as i understand it), so therefore, i want to close the launcher instead, so it also deletes any personal infomation.
Any other suggestions?
and I've never had any problems leaving information behind. Like John said above, you should close Firefox.exe and the launcher will do the cleaning up.
---------------
Teen1: Oh, here comes that cannonball guy. He's cool.
Teen2: Are you being sarcastic, dude?
Teen1: I don't even know anymore.
"In three words I can sum up everything I've learned about life: it goes on." -- Robert Frost
"In three words I can sum up everything I've learned about life: baby ain't mine." -- Adam Holguin
yes you are right, closeprocess works! At the time of my first post i was also trying to close miranda which did not work with the closeprocess. And for some reason didn't try that with firefox, but this works fine, thanks.
By the way, the killprocess is what leaves the user info behind. Now to find a way to close miranda without using the killprocess... hummm