captainamer71 Posted May 19, 2005 Share Posted May 19, 2005 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 Link to comment Share on other sites More sharing options...
jondercik Posted May 19, 2005 Share Posted May 19, 2005 taskkill.exe built in Link to comment Share on other sites More sharing options...
MDGx Posted May 20, 2005 Share Posted May 20, 2005 NirCmd example of use:nircmd.exe killprocess iexplore.exeNirCmd [free GPL]:http://www.nirsoft.net/utils/nircmd.html Link to comment Share on other sites More sharing options...
oftentired Posted May 20, 2005 Share Posted May 20, 2005 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now