Results 1 to 6 of 6

Thread: close prog cmd

  1. #1
    Join Date
    Mar 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    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 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.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Mar 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    *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 !"

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    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
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Mar 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Twey
    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.

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    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 Quote
    Heh... I have a ZX81 tucked away in a cupboard somewhere; I'm waiting for it to be old enough to be expensive
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •