Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2051
  • Last Modified:

Resize Partition from dos command line

I am looking for a tool that can resize a NTFS partition from DOS.
I need to be able to script this so this can be done in an automated process.
I would also prefer this be a free tool if possible.

1 Solution
Gary CaseRetiredCommented:
Not from DOS ... and not from a script ... but Boot-It NG does boot to its own environment; and does a perfect job of resizing a partition.   The free demo version will let you give it a try (www.bootitng.com).
you may want http://gparted.sourceforge.net/download.php
it works on linux
it is based on http://www.linux-ntfs.org/
so you may use this, maybe you can get it to work on cygwin, so it would work on DOS. but no garantee
You can use "diskpart" utility from command prompt
it is free in windows xp
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

jakewellsAuthor Commented:
Diskpart almost works, it has the ability to extend, but I need to shrink the partition.
as far as i know dos doesn't support NTFS partitions, amn't i right?
wrong, at least it depend on the dos, you can load a ntfs module, dos 3.1 maybe doesnt support dll for file systems.
also you can try to use disk director, there is an some kind of boot disk, from it you can manage all partitions.

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now