You are here

How to use kill.exe and PSTART

5 posts / 0 new
Last post
twnty3svn
Offline
Last seen: 16 years 5 months ago
Joined: 2006-04-10 03:24
How to use kill.exe and PSTART

Can anyone please point me in the right direction on how to use kill.exe (http://www.pcwelt.de/downloads/heft-cd/03-05/107355/)and PSTART? I want to automatically end my Rainlender.exe process when PSTART exits.

Also is there any adverse affects on doin this, compared to the standard exit from within the app.

Tried googling and searched the forums, but couldn't find a answer.

Thanks

arqbrulo
arqbrulo's picture
Offline
Last seen: 4 years 7 months ago
Joined: 2006-08-10 16:38
The easy way...

Download NirCmd from www.nirsoft.net and put it inside your drive. Add it to PStart, under the "parameters" box, type "closeprocess rainlendar.exe" and set it up to run when PStart closes. If closeprocess does not work, try killprocess. Also, make sure you have rainledAr not rainledEr. If that does not work, do what I did. Make a script to open Pstart, wait for it to finish, then run the kill command.
---------------
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

twnty3svn
Offline
Last seen: 16 years 5 months ago
Joined: 2006-04-10 03:24
Great!

thanks for the info, i got the kill process to work with a bat file, but this was is much easier. Smile

arqbrulo
arqbrulo's picture
Offline
Last seen: 4 years 7 months ago
Joined: 2006-08-10 16:38
Sure thing...

I'm glad I could finally help someone out.
---------------
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

ghd
Offline
Last seen: 17 years 3 months ago
Joined: 2006-08-30 04:23
gPortable might help you

Hi,
This sounds like a good solution, I haven't tried it out.
I faced the same problem myself and started to put together a script that does all the things that I want from.
Basically it's one VBscript that is executed with different arguments depending on what you want out of it.

When PStart is starting:
* It starts the applications that I want running.

When PStart exists:
* It executes a .bat file (running robocopy for me)
* Kill all applications that is running from the USB drive.
* Unplug the USB drive

I have released it on http://gportable.sourceforge.net/

A new version is on the way that (optionally) sets firefox portable as the default browser when starting and restoring previous settings when exiting. It will be released anyday now...

It might be a bit tricky to get started with but it's working fine when all the preparations are done. It relies on other applications that is not included in the zip file available at sourceforge, but it should all be documented.

Topic locked