FDisk Command Line
Posted on 1998-08-06
I hope that you don't mind a DOS question, since you do not have a catagory for the DOS Operating System.
I would like to be able to run fdisk.exe in a batch file to automatically re-partition a hard drive. The command line that I have used thus far is fdisk /pri:2500 /ext:2000 /log:2000. This has yielded a primary dos partition of 2500mb and a logical partition of 2000mb with no logical drive defined. How can I get the logical drive defined with a drive letter attached to it, without rebooting and and rerunning fdisk from the command line to define that logical drive?