Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: How to list all the partitions in the system ?  (Read 5917 times)

0 Members and 1 Guest are viewing this topic.

MisterAlex

    Topic Starter


    Newbie

    How to list all the partitions in the system ?
    « on: September 06, 2009, 04:20:29 AM »
    I want a command to list all the partitions in the system, so it tells me in a small list what partitions are, with their labels.
    Like:
    c: My Disk
    d: Vista

    Is there something like that inside DOS ? actually I want this to use it with Windows 7 PE cmd shell, not real DOS.

    camerongray



      Expert
    • Thanked: 306
      • Yes
      • Cameron Gray - The Random Rambings of a Computer Geek
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Mac OS
    Re: How to list all the partitions in the system ?
    « Reply #1 on: September 06, 2009, 09:13:43 AM »
    Have a look at this: http://tinyurl.com/kpd4oh

    Don't think it shows labels but it might help a bit

    billrich

    • Guest
    Re: How to list all the partitions in the system ?
    « Reply #2 on: September 06, 2009, 09:37:22 AM »

    http://support.microsoft.com/kb/309000

    Quote
    How to use Disk Management
    To start Disk Management:
    Log on as administrator or as a member of the Administrators group.
    Click Start, click Run, type compmgmt.msc, and then click OK.
    In the console tree, click Disk Management. The Disk Management window appears. Your disks and volumes appear in a graphical view and list view. To customize how you view your disks and volumes in the upper and lower panes of the window, point to Top or Bottom on the View menu, and then click the view that you want to use.

    BatchFileBasics



      Hopeful

      Thanked: 18
      Re: How to list all the partitions in the system ?
      « Reply #3 on: September 06, 2009, 10:54:04 AM »
      not even close to what the op wants bill...
      When the power of love overcomes the love of power the world will know peace - Jimi Hendrix.

      billrich

      • Guest
      Re: How to list all the partitions in the system ?
      « Reply #4 on: September 06, 2009, 01:10:51 PM »
      not even close to what the op wants bill...

      You are right.  I will erase my post.  Your answer is much better.

      Thanks for the help.

      BatchFileBasics



        Hopeful

        Thanked: 18
        Re: How to list all the partitions in the system ?
        « Reply #5 on: September 06, 2009, 01:50:42 PM »
        if you noticed, i didn't post an answer because its just about

        Have a look at this: http://tinyurl.com/kpd4oh

        Don't think it shows labels but it might help a bit

        Code: [Select]
        C:\Documents and Settings\Owner>diskpart

        Microsoft DiskPart version 5.1.3565

        Copyright (C) 1999-2003 Microsoft Corporation.
        On computer: CHRIS-COMPUTER

        DISKPART> list volume

          Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
          ----------  ---  -----------  -----  ----------  -------  ---------  --------
          Volume 0     D                       DVD-ROM         0 B
          Volume 1     F                       DVD-ROM         0 B
          Volume 2     C   Hard Drive   NTFS   Partition     74 GB  Healthy    System
          Volume 3     G                       Removeable      0 B
          Volume 4     H                       Removeable      0 B
          Volume 5     I                       Removeable      0 B
          Volume 6     K                       Removeable      0 B

        DISKPART>
        When the power of love overcomes the love of power the world will know peace - Jimi Hendrix.

        patio

        • Moderator


        • Genius
        • Maud' Dib
        • Thanked: 1769
          • Yes
        • Experience: Beginner
        • OS: Windows 7
        Re: How to list all the partitions in the system ?
        « Reply #6 on: September 06, 2009, 02:01:21 PM »
        It will show Volume labels if they are assigned...
        " Anyone who goes to a psychiatrist should have his head examined. "

        MisterAlex

          Topic Starter


          Newbie

          Re: How to list all the partitions in the system ?
          « Reply #7 on: September 07, 2009, 08:23:01 AM »
          if you noticed, i didn't post an answer because its just about

          Code: [Select]
          C:\Documents and Settings\Owner>diskpart

          Microsoft DiskPart version 5.1.3565

          Copyright (C) 1999-2003 Microsoft Corporation.
          On computer: CHRIS-COMPUTER

          DISKPART> list volume

            Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
            ----------  ---  -----------  -----  ----------  -------  ---------  --------
            Volume 0     D                       DVD-ROM         0 B
            Volume 1     F                       DVD-ROM         0 B
            Volume 2     C   Hard Drive   NTFS   Partition     74 GB  Healthy    System
            Volume 3     G                       Removeable      0 B
            Volume 4     H                       Removeable      0 B
            Volume 5     I                       Removeable      0 B
            Volume 6     K                       Removeable      0 B

          DISKPART>

          WORKED, the diskpart is already included with the Windows 7 PE and it worked the very good way :D
          thaaaankkks  :)