how do I get format to work from the commandline with no prompts?
Posted on 2005-04-25
I have written a batch for 2k3 which shutdowns certain services, runs defrag, and then restarts the services once a day. I am trying to accomplish this same thing with 2000. I have run into a variety of problems. First being that defrag is not supported from the commandline in 2k. No biggie. The work around is to simply quick format the raid device (mail spool) however, I cannot seem to get format to go from the batch file without prompting for the volume label and then a yes no answer. How do I accomplish this?
Worth 500 points.