Tech Support > Operating Systems > Windows 2000 > Command line tool to reformat Windows 2000 disks.
Command line tool to reformat Windows 2000 disks.
Posted by I. E. on November 22nd, 2003


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


Posted by William on November 22nd, 2003


gdisk.exe that comes with norton ghost.


"I. E." <asdf@asdf.com> wrote in message
news:rmvtrvk050qrf21rdui0vkmsod3vcl678l@4ax.com...


Posted by Patrick J. LoPresti on November 22nd, 2003


I. E. <asdf@asdf.com> wrote in message news:<rmvtrvk050qrf21rdui0vkmsod3vcl678l@4ax.com>. ..
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/


Similar Posts