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
  • September 22, 2017, 09:12 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 3128 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
    • View Profile
    • Donate to Member
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
Thanks - I'll try that  :)