Help - Search - Members - Calendar
Full Version: bat file command question
MSFN Forums > Microsoft Software Products - Discussion & Support > Windows 95/98/98SE/ME

   
Google Internet Forums Unattended CD/DVD Guide
captainamer71
Ok I have a bat file that runs at startup it copies all the files from my HD to my ramdrive.

Then I have a bat file that I want to run at shutdown. that does copies all the files from my ramdrive to the hd and shuts down

My only problem is that I have to my had shut down one of the programs that is running from the ram drive so that it can copy all the files back to the hd.

Is there a command that I can use that will shut the program down with out me having to do it manually?

Thanks
jondercik
taskkill.exe built in
MDGx
NirCmd example of use:
nircmd.exe killprocess iexplore.exe

NirCmd [free GPL]:
http://www.nirsoft.net/utils/nircmd.html
oftentired
You may want to consider installing PrcView. With that program comes a very small DOS program called PV.EXE which is a DOS based task manager which you can call from a batch file to shut down a process. The text file PV.TXT that comes with it explains all the available switches and usage. Very handy really.

PrcView
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.