1.

Solve : How do I Run a batch file before shutdown?

Answer»

Hi,

IM trying to run a SIMPLE BATCH file on shutdown on Win2000.
i.e when i click start shutdown, the bat file is executed.

Thanks

JohnYou can't use the task scheduler for this, so the best WAY is to include the shutdown command in your batch file as the last THING the batch file does.

@echo off
.
.
.
shutdown -s

Hope this helps.



Discussion

No Comment Found