Jump to content

bat file command question


captainamer71

Recommended Posts

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

Link to comment
Share on other sites


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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...