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.
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.
i dont want the batch file to shutdown the system.i want a batch file to run when ever user shutdowns his system.