Command line tool to reformat Windows 2000 disks.

  • Thread starter Thread starter I. E.
  • Start date Start date
I

I. E.

Is there some kind of command line tool for reformatting NTFS
partitions that works in unattended mode? The format.com always
prompts and is not useful for scripting. Other tools that repartition
like gdisk cause drive letter assignments to change don't format in
NTFS (I've tried using convert but in a script half the time it will
say the partition is in RAW mode).

Thanks,



.................................................................
Posted via TITANnews - Uncensored Newsgroups Access-=Every Newsgroup - Anonymous, UNCENSORED, BROADBAND Downloads=-
 
gdisk.exe that comes with norton ghost.


I. E. said:
Is there some kind of command line tool for reformatting NTFS
partitions that works in unattended mode? The format.com always
prompts and is not useful for scripting. Other tools that repartition
like gdisk cause drive letter assignments to change don't format in
NTFS (I've tried using convert but in a script half the time it will
say the partition is in RAW mode).

Thanks,



................................................................
Posted via TITANnews - Uncensored Newsgroups Access
-=Every Newsgroup - Anonymous, UNCENSORED, BROADBAND Downloads=-
 
I. E. said:
Is there some kind of command line tool for reformatting NTFS
partitions that works in unattended mode? The format.com always
prompts and is not useful for scripting.

You can use format.exe in a .bat script like this:

echo y | format.exe /v:VOL /q /x /fs:ntfs e:

(where VOL is the name you want to assign to the volume)

- Pat
http://unattended.sourceforge.net/
 
Back
Top