Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Resize Partition from dos command line

Posted on 2006-11-10
9
2,018 Views
Last Modified: 2008-01-09

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.

 
0
Comment
Question by:jakewells
9 Comments
 
LVL 70

Accepted Solution

by:
garycase earned 125 total points
ID: 17917429
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).
0
 
LVL 6

Expert Comment

by:_iskywalker_
ID: 17918998
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
0
 

Expert Comment

by:abdulxp
ID: 17928840
You can use "diskpart" utility from command prompt
it is free in windows xp
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:jakewells
ID: 17930510
Diskpart almost works, it has the ability to extend, but I need to shrink the partition.
0
 
LVL 4

Expert Comment

by:Yuray
ID: 17937577
as far as i know dos doesn't support NTFS partitions, amn't i right?
0
 
LVL 6

Expert Comment

by:_iskywalker_
ID: 17937633
wrong, at least it depend on the dos, you can load a ntfs module, dos 3.1 maybe doesnt support dll for file systems.
0
 
LVL 4

Expert Comment

by:Yuray
ID: 17954053
also you can try to use disk director, there is an some kind of boot disk, from it you can manage all partitions.
http://www.acronis.com/homecomputing/products/diskdirector/
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Solid State Drive Performance Tips: Solid state storage technology is now a standard.  After testing and using several different brands and revisions of SSD's over the years I have put together a collection of tips,tools and suggestions that I ha…
Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question