Solved How to Format new [Unallocated] HDD by DOS?

March 21, 2011 at 04:59:13
Specs: Windows XP
Hi all,
Greetings!! today i am come back with a new problem. Hope my this problem also will be solved by the forumists. here is the details-
I have a new HDD [Unallocated file system] and i want to make it NTFS with formatting the HDD by DOS command where there is no drive name from "my computer" menu. Now i am manually formatting from "Disk Management". So, is there any commant to format the unallocated HDD in to NTFS drive?? Thanks for helping and waiting for some reply...:)

See More: How to Format new [Unallocated] HDD by DOS?

Report •

#1
March 21, 2011 at 07:30:08
The are commands to partition and format a hard disk from the command line interface. There is no DOS in Windows XP.

Look up Format /? and DiskPart /?.
Before an unallocated hard disk can be formatted it has first to be partitioned.

But why do it the hard way, what is wrong with using the Disk Management which is a whole lot simpler.

Stuart


Report •

#2
March 22, 2011 at 01:08:20
@Stuart: thanks for your reply. actually often i need to format unallocated HDD in to NTFS/FAT32 but i am not sure how to use "format /?" this command. I try this but i didnt find any useful command what i m looking for. If there is any special command that can change the unallocated drives into NTFS or FAT32 it will be very grateful for me. Thanks for helping me.

Report •

#3
March 22, 2011 at 06:42:15
✔ Best Answer
Hi all,
Full day i try for the solution and finally i found this -
From MS DOS window-

1. diskpart
2. list disk
3. select disk 1
4. create partition primary
5. assign letter=e
6. exit

I need for that 6 different command, its working but is there any option to make this as a batch file and run all the command one after another till exit??
Please somebody help me....

Report •

Related Solutions

#4
March 22, 2011 at 07:46:01
From MS DOS window-

It is not an MS-DOS windows as THERE IS NO DOS IN WINDOWS XP

It is a Windows XP Command prompt that just happens to be able to emulate SOME DOS commands.

MS-DOS is an operating system in its own right.

When you get the Disk part prompt type Help to get a list of commands.

Type Help Command to get the parameters for each command.

Stuart


Report •

#5
March 22, 2011 at 07:49:48
@Stuart: this is not the solution. BTW, thanks for your suggestion.

Report •

#6
March 22, 2011 at 09:19:47
Well, the information is all there. If you cannot work it out for yourself then I am sorry.

I am certainly not going to spend an hour or so writing a batch file for you.

Stuart


Report •

#7
March 22, 2011 at 10:51:51
You don't format a drive to a File Type you setup a partition to a file type. In DOS you use FDISK in NT Command Line you use DISKPART as you have discovered. Try not to use the word DOS to represent NT Command Line because the commands are different. As for putting it in a batch file, I do not recommend it because each system could be different in which drive letter to use and what partition size is acceptable. If you are setting up systems with the exact same specs, I would not use a batch file, I would use a Disk Imager so that you don't have to format and install the OS each time.

As for doing it in command line try this...

http://bink.nu/forums/t/5629.aspx


Report •

#8
March 22, 2011 at 10:52:56
@Stuart: May be you are making some mistake. I never ask you to make a batch file for me and i am also not sure how much really possible by you*. I am asking for the command to run all the command one after another. Hope you will read my question and then try to answer the question. Also i am not asking you for spending hours if anybody know the solution it will take only few seconds and it will take hours even years who really dont know....:P

Report •

#9
March 22, 2011 at 11:35:34
There is no cammand to make all commands run one after the other. You put them in a batch file and they can do nothing else but run one after the other. The what batch files do; they run a serieas of command one after the other in a batch. You iniate the process by running the batch file.

Stuart


Report •

Ask Question