change drive letters thru command prompt

Discussion in 'Windows Desktop Systems' started by ang, Mar 11, 2006.

  1. ang

    ang OSNN One Post Wonder

    i want to change the drive letter to one of my partitions thats ntfs
    im using winxp sp2 right now

    i believe you use diskpart, then you change the focus to the drive and then you type in 'assign letter=d'
    is that right or is there an easier way ?
  2. Admiral Michael

    Admiral Michael Michaelsoft Systems CEO Folding Team

    If it's not the system partition (the one with windows on it) then you can use the Computer Management console.

    Right click on my computer and click Manage. In the left pane select Disk Management. Right click on the drive you want to change and click "Change Drive Letters and Paths.." when the window pops up click change and select the letter you want.

    You have to be careful when changing drive letters, things can go bad fast.
  3. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    As AM said, it can be done through disk management in Windows. If you want to use diskpart.exe, here is a good resource for the switches.