Loans | Payday Loan | Loans | Anime | Free Advertising
batch scripting [Archive] - PCMech Forums

PDA

View Full Version : batch scripting


sdkramer
03-18-2003, 04:39 PM
I'm trying to write a batch script on a bootable floppy so I can format a bunch of machines at once. so that all I have to do is plug in the power to these machines and I can stick in the floppy and format them.

if I use echo y|format c:
that works except when it prompts me for the volume label it's still set to take input from the pipes and not the keyboard. Is there anyway I can specify no volume label and no to do I want to format another. I tried echo y|format c: /v and that doesn't work. NE ideas?

Thanks,

Setheronicus

sdkramer
03-18-2003, 04:50 PM
nevermind I think I found one that works for me:

echo y|format c: /u /v:"" or for quick

echo y|format c: /u /q /v:""

Now I have to figure out how to delete all partitions on the drive and create one primary partition of maximum size. That should be fun.