Discussion Locked

Running a batch file at Shutdown Win98

0 helpful
10 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I need to create and run a batch file. This batch file needs to run upon shut down of Win 98.

Where do you specify this batch file to run? And can it be done?

10 replies

by syscokid

I don't know if this is possible. I know it CAN be done in Win NT - you create the batch file to do what you want, and the last line in the batch file runs the SHUTDOWN command available in the NT Resource Kit. I'm not aware of a similar utility in 98, but if there is, that's how you'd do it.

by dmiles

You might be able to run it in dos,by opening my computer or windows explorer and right clicking the folder nad go to the Program Property page,go to batch file column,you can specify Config.sys and Autoexec.bat settings for the DOS application

by buchanon

There are a number of programs that will run and wait for
you to shutdown the computer. At the time you shutdown, they
intercept the shutdown call, run your programs, and then shutdown.

trapsd.exe is one such program and can be had for free
at the following URL:
http://www.pyzzo.com/trapsd/

Or, you can search winfiles for shutdown and folder.

Note: this is only for win9x not NT or 2000.

by greg abrahamsen

The best answer i can come up with is to try using task scheduler. you should be able to specify a shutdown task.

This discussion is closed to new replies.