| 1. |
Solve : Partition Resize From Command line?? |
|
Answer» Is there a program that I can run in DOS on the command line that I can shrink an NTFS volume? I'd like to make it so I can put it on a CD and it will automatically run after making a batch script so there WONT be any user intervention. (This is for large hard drives with little data on them so data loss shouldn't be a problem) Diskpart will work in dos even though it's part of windows ?Read the link Patio posted. Or this one: "DiskPart Command-Line Options" http://technet.microsoft.com/en-us/library/cc766465(WS.10).aspx Diskpart maybe command line but it cannot operate outside of windows like MS-DOSif you can get you hands on a Linux boot CD there a utilities that will do what you are looking for. A different option WOULD be to get your hands on a ERD Commander from systools. some very good tools and utilities in a windows like ENVIRONMENT that hooks into the reg of the host COMPUTER. The ERD is put on a boot CD or USB so it runs outside of windows. pure DOS cannot access hard drives larger then... well, I forget the exact value, but I don't think it exceeds around 64 GB. Also it does not recognize NTFS partitions. There is no pure DOS command line utility you can use for resizing partitions. The closest you can get is probably fdisk, excluding the good number of tools available for this purpose (I believe there are tools for resizing partitions that will run on DOS... but they wil lbe too old to recognize NTFS, I think. However as suggested there are a number of already existing boot CD solutions that posess this ability.Thanks for your suggestions guys. I already do have a ubuntu bootable disk and an EDR commander. They are great utilities. I know they can resize partitions by hand, but how can i automate the task? Because that's really the goal here. |
|