View Full Version : close prog cmd
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.
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.
*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 !"
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 :)
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.
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
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.