Log in

View Full Version : close prog cmd



funf
03-15-2006, 09:18 PM
I want to find a script that can be scheduled to close a prog' prior to backup.

Per PC would be good but better still a cmd that could be sent across the network from the server.

I could probably doctor a script to suit our setup, but creating one is outside my realm.

Thanks for any help forthcoming.

Twey
03-16-2006, 06:40 PM
I could probably doctor a script to suit our setup, but creating one is outside my realm.Under *n?x, calling killall <processname> will do the job, which is considerably simpler than the Windows solution, which I believe could be rather difficult to achieve, requiring a reasonably advanced knowledge of the Windows API.

/EDIT: Actually, PsKill (http://www.sysinternals.com/Utilities/PsKill.html) is available from SysInternals (owned in part by the Mark Russinovich of Sony-rootkit-finding fame). This program is a Windows equivalent of the kill and killall utilities.

funf
03-17-2006, 12:16 AM
*n?x,

What is that ??? AGlyph for Linux ? Don't dare enter that world !

requiring a reasonably advanced knowledge of the Windows API.

Did a little with VB3 and the odd API, can't cope with the later versions.

/EDIT: Actually, [url=http://www.sysinternals.com/Utilities/PsKill.html]PsKill

Looks like a very useful link, so here goes.

Thanks from Funf
"I didn't call myself student, not at 75, no gray cells left to fill up !"

Twey
03-17-2006, 07:44 AM
What is that ??? AGlyph for Linux ? Don't dare enter that world !*n?x: Any string, then n, then a character, then x. Classically, Linux or UNIX; can also refer to any POSIX-compliant OS.
I entered it a long time ago. And I rather like having control over what my own computer does :)

funf
03-17-2006, 11:58 AM
And I rather like having control over what my own computer does :)

Oh, me too, I wish !

But it is for younger and more agile brains.

I still use a Sinclair QL emulator to be able to make small routines in Basic, no bells & GUI whistles, no need for compiling.

Twey
03-17-2006, 05:25 PM
I still use a Sinclair QL emulator to be able to make small routines in Basic, no bells & GUI whistles, no need for compiling.
Reply With QuoteHeh... I have a ZX81 tucked away in a cupboard somewhere; I'm waiting for it to be old enough to be expensive :p