Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

list available partitions under DOS

Original Message
Name: nmv (by AP81)
Date: June 19, 2007 at 22:16:33 Pacific
Subject: list available partitions under DOS
OS: DOS 7.0
CPU/Ram: 1800XP+
Comment:
Is there any tools/programs to list what partitions (including non DOS) partitions are on a hard drive?

For example, lets say I have a drive with two FAT32 partitions, a NTFS partition and an EXT3 partition. I need a program to identify the partition signatures like on this page:
http://www.win.tue.nl/~aeb/partitio...

I don't think this is possible, but it would help me out greatly.

Thanks.


Report Offensive Message For Removal


Response Number 1
Name: abdul_ahad
Date: June 19, 2007 at 22:26:02 Pacific
Subject: list available partitions under DOS
Reply: (edit)
do a search for "ranish partiton manager"
it can identify many different partition types includion ext2
also the fdisk.exe that comes with freedos also can identify the partition type from the partition signature. but performancewise fdisk.exe of freedos is not very satisfactory.
there is also a preogram called aefdisk.exe that can identify some partition types, but i do not know whether it can identify ext2

my signature does not look like this


Report Offensive Follow Up For Removal

Response Number 2
Name: nmv (by AP81)
Date: June 19, 2007 at 22:32:47 Pacific
Subject: list available partitions under DOS
Reply: (edit)
Thanks, I'll look into it. Ideally, I would like to be able to do just issue a command to get a list of partition, but I think that is wishful thinking...

Report Offensive Follow Up For Removal

Response Number 3
Name: abdul_ahad
Date: June 19, 2007 at 23:34:34 Pacific
Subject: list available partitions under DOS
Reply: (edit)
aefdisk.exe can do exactly what you want.
i.e. with a single command ("aefdisk /show")
you will get a list of all available partitions in a given hard disk.

my signature does not look like this


Report Offensive Follow Up For Removal

Response Number 4
Name: Mechanix2Go
Date: June 20, 2007 at 04:25:45 Pacific
Subject: list available partitions under DOS
Reply: (edit)
fdisk /status



=====================================
If at first you don't succeed, you're about average.

M2



Report Offensive Follow Up For Removal

Response Number 5
Name: abdul_ahad
Date: June 20, 2007 at 05:47:26 Pacific
Subject: list available partitions under DOS
Reply: (edit)
fdisk /status will only indicate FAT16,FAT32 and NTFS partitions.
The OP needs a tool that can identify other partition types

my signature does not look like this


Report Offensive Follow Up For Removal


Response Number 6
Name: nmv (by AP81)
Date: June 20, 2007 at 16:26:57 Pacific
Subject: list available partitions under DOS
Reply: (edit)
Thanks for the help guys. One last question...

Lets say I issue the command:
aefdisk /show

Is there anyway to search the output of this (like grep in unix) and save the result in a variable? For example:

Check if NTFS is present:
aefdisk /show | grep "NTFS" > %NTFS%


Report Offensive Follow Up For Removal

Response Number 7
Name: nmv (by AP81)
Date: June 20, 2007 at 17:43:38 Pacific
Subject: list available partitions under DOS
Reply: (edit)
Worked it out. Thanks for your help!

Report Offensive Follow Up For Removal

Response Number 8
Name: Mechanix2Go
Date: June 21, 2007 at 02:48:39 Pacific
Subject: list available partitions under DOS
Reply: (edit)
Part of the forum process is to state what worked. And what didn't.


=====================================
If at first you don't succeed, you're about average.

M2



Report Offensive Follow Up For Removal

Response Number 9
Name: nmv (by AP81)
Date: June 21, 2007 at 15:39:57 Pacific
Subject: list available partitions under DOS
Reply: (edit)
This is what I did:

SET NTFS=PRESENT
aefdisk /show | grep "NTFS" > NUL
IF ERRORLEVEL 1 SET NTFS=NOT PRESENT
ECHO NTFS PARTITON IS %NTFS%


Report Offensive Follow Up For Removal



Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: list available partitions under DOS

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software




Restoring Problem

3 Pin Case Fan Connector???

Can't get to internet

HP/Compaq 6710b

Command line aliases


The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC