June 24, 200422 yr Hey Dustinwmew thank you for the help , I went throught it but didnt help me cos they were talking about Automatic assignement of new letter to drives not how to reparition the HHD...anyways thex for the help...yazan
June 28, 200422 yr Hi Yazanaswad!!Well I am not an diskpart expert but I shuld try some thing likeSometing like this I think: DISKPART /s diskpartcfg.txt FORMAT C: /fs:ntfs /q /v:sys /y FORMAT D: /fs:ntfs /q /v:vol1 /y FORMAT E: /fs:ntfs /q /v:vol2 /y(repet as many time you need)diskpartcfg.txt select disk 0 clean create partition primary size=12000 select partition 1 assign letter=c active create partition extended create partition logical Size=xxxxassign letter=dcreate partition logical Size=xxxxassign letter=e (repet as many time you need)exit MS Info:Syntaxcreate partition logical [offset=n] [noerr]Top of pageParameterssize=n : The size of the logical drive in megabytes (MB). If no size is given, then the partition continues until there is no more free space in the current region.Link to diskparthttp://www.microsoft.com/resources/documen...s/diskpart.mspxBye Per
June 28, 200422 yr hey tjabobom Thank you so much for this great help man .. ok I got it now , BUT one more Question , you mentioned diskpartcfg.txt file right ok where to keep it in my CD??? though I have only main_batch.cmd and hotfixes.cmd, This will format and partition th HDD right , so this command should run in the begining right ?? How to put this command in the CD???? Thank you so much again for the helpThx Yazan
June 28, 200422 yr The diskpart config txt file..I have a share on my network where I keep myscript files, because I change my scrip all the time so I dont need to burn new CDs all the time, so I use a netboot cd like bartPE look at www.nu2.nu..You could burn it on a CD if you want or on a floppy but ju most have the right path.... I run the disk command file in same dir as the diskpartcfg.txt so it finds it else you have to put the path ex: a:\ .\subdirexamle of diskcfg.bat:DISKPART /s a:\diskpartcfg.txt FORMAT C: /fs:ntfs /q /v:sys /yPer
June 30, 200422 yr Dear All , ok what if I want to format one partition of the HDD no more.. and without repartition anything ??? IS there any way like this to format only 1 part.???Thank youYazan
Create an account or sign in to comment