Formatting a Drive using a Batch file

JonHolman7

Junior Member
Dec 8, 2001
20
0
0
I have a Ram Drive as the Z: drive on my computer. Every time I turn on the computer it is not formated. So, I need to format it. I am currently trying to create a batch file to automatically format it but I am having problems with the prompts. Does anyone know how I can automatically say yes or Y to the question warning this will erase all data...blah...blah. I have taken care of the volume label, but am unsure of what to do about the warning message.

This is what I have so far:
format/q/fs:ntfs/v:RamDisk z:

Thanks for your help!
 

snakeyeis

Member
Aug 18, 2001
35
0
0
OK, goto the cacheman site. (the people who made cacheman) There is a util by the name batchrun or something like that made for the Win32 environment. By what those guys claim, it seems to have all the options that you may want. It doesn't cost anything to give it a try!