Computer Hope

Microsoft => Microsoft DOS => Topic started by: gohbucks69 on February 14, 2006, 05:19:36 PM

Title: a batch file that runs on windows exit?
Post by: gohbucks69 on February 14, 2006, 05:19:36 PM
I run a batch file from windows startup folder to mount my linux partition using ext2fsd. I always unmount it before I exit, because I'm not really sure if it is safe not to. Is there any way to make a batch file run on windows exit?
Title: Re: a batch file that runs on windows exit?
Post by: 2k_dummy on February 15, 2006, 09:46:25 AM
A simpler solution would be to create a new batch file to dismount the partition and shutdown windows. Put a shortcut to it on the desktop and simply run the batch. For help on shutdown commands go to http://www.computerhope.com/issues/ch000321.htm
Title: Re: a batch file that runs on windows exit?
Post by: gohbucks69 on February 15, 2006, 03:11:14 PM
Yea, I actually did this last night as a work around, but I just thought I might be able to make windows do it for me so I don't have to teach my wife a new trick, if ya know what I mean! heeheehee
I wander why they haven't put a shut down folder in Windows that works like the start up folder?