Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 03, 2016, 01:40:42 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: How can I automatically run a command after an application closes?  (Read 2982 times)

katykaty

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 221
    • View Profile
    • Donate to Member
Norton Ghost installs a windows xp service, which I assume controls its backup scheduler. But I start my backups on demand so don't need it.

The problem is, if I stop the service through WinPatrol, Ghost just starts it again next time it runs.  :mad:

I've discovered I can use
sc stop "norton ghost"

to stop it - so is there any way I can make that command automatically happen once Ghost has completed its shutdown?

Thanks  :D

gjehle

  • Member
  • Joined in 2006
  • **
  • Posts: 286
  • lonesome linux warrior
    • View Profile
    • Open Source Corner
    • Read more about this member.
    • Donate to Member
Re: How can I automatically run a command after an application closes?
« Reply #1 on: May 12, 2007, 12:56:16 AM »
if you'd start an executable that wont finish till it's done you can write a batchfile

commandA
commandB

katykaty

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 221
    • View Profile
    • Donate to Member
Re: How can I automatically run a command after an application closes?
« Reply #2 on: May 12, 2007, 05:59:23 AM »
Thanks - I'll try that  :)