Link to home
Start Free TrialLog in
Avatar of KRS12
KRS12

asked on

Run a batch file during Shutdown process

Run a batch file during Shutdown process -

I currently have a batch file that deletes files.  However, I need to be able to call this batch file when the shutdown process starts - is this possible in XP.  I have been unable to find anything.
Avatar of Edward Pamias
Edward Pamias
Flag of United States of America image

You could add the shutdown command to the batch file after it deletes the files it will shutdown. Just put the command after the command to delete the files.
ASKER CERTIFIED SOLUTION
Avatar of Jeremy Weisinger
Jeremy Weisinger

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jeremy Weisinger
Jeremy Weisinger

Glad to help. :)
Avatar of KRS12

ASKER

Thank you. It worked perfectly.