how to run a batch file when windows shutdown.
|
Go4Expert Member
|
|
| 20May2009,10:09 | #1 |
|
hii guys...i want to know how we run a batch file when windows is shutting down.i just want to write the time of shutdown into a text file using the batch file.
|
|
Ambitious contributor
|
|
| 20May2009,10:47 | #2 |
|
Create a batch file with the following commands.
cd\ shutdown -s -t 60 You could also use the Scheduled task app to schedule a shutdown at a specified time. |
|
Go4Expert Member
|
|
| 20May2009,11:10 | #3 |
|
i dont want the batch file to shutdown the system.i want a batch file to run when ever user shutdowns his system.
|
|
Team Leader
|
![]() |
| 22May2009,14:02 | #4 |
|
Team Leader
|
![]() |
| 22May2009,16:11 | #5 |

