Change a drive letter from Command Prompt or batch script in Windows 8?

Solution 1:

There are several methods:

  • mountvol – use it once to delete an existing letter, then again to assign a new one;

  • diskpart – interactive;

  • diskmgmt.msc aka Disk Management – a graphical tool.

Whichever you choose, assigning once should be enough, the assignment will be remembered afterwards.