Create filesystem using command line tools

Microsoft Windows file system.

Create filesystem using command line tools

Postby Lucy » Thu Oct 21, 2004 8:25 pm

Hi,

Using diskpart, I am able to create a partition/volume on a (new)
basic disk using the "create partition primary" command. I would
then like to create an NTFS filesystem on this volume., still using
a command line (scriptable) tool. Everywhere I've read has said
that "convert e: /fs:ntfs" on the command line should work, but this
returns the error message "CONVERT is not available for RAW
drives.". I cannot work out how to change the partition to anything
other than a RAW drive.

Any help is much appreciated!

Lucy
Lucy
 

RE: Create filesystem using command line tools

Postby Lucy » Fri Oct 22, 2004 12:23 pm

I've worked out how to do this now...
I needed to use format.exe
"format e: /fs:ntfs /v:TestVol" works :-)
Lucy
 

Re: Create filesystem using command line tools

Postby Lanwench [MVP - Exchange] » Tue Oct 26, 2004 6:02 pm

Lucy wrote:
Hi,

Using diskpart, I am able to create a partition/volume on a (new)
basic disk using the "create partition primary" command. I would
then like to create an NTFS filesystem on this volume., still using
a command line (scriptable) tool. Everywhere I've read has said
that "convert e: /fs:ntfs" on the command line should work, but this
returns the error message "CONVERT is not available for RAW
drives.". I cannot work out how to change the partition to anything
other than a RAW drive.

Any help is much appreciated!

Convert will only work if there's already a file system (FAT). You need to
format the drive first - and you can format it as NTFS at that time.
Lucy
Lanwench [MVP - Exchange]
 


Return to File System

Who is online

Users browsing this forum: No registered users and 1 guest

cron