May 19, 200521 yr 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 downMy 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
May 20, 200521 yr NirCmd example of use:nircmd.exe killprocess iexplore.exeNirCmd [free GPL]:http://www.nirsoft.net/utils/nircmd.html
May 20, 200521 yr 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
Create an account or sign in to comment