Is it possible to change drive letter (and rename) of D in setupcomplete.cmd? I only have 2 drives, and I always change the second one to drive Z after an OS reinstall. thank you,
thanks, i've seen the diskpart command as well as powershell. though what i would like to accomplish is doing it automated/silent through setupcomplete.cmd script.
ps command is super simple! Get-Partition -DriveLetter A | Set-Partition -NewDriveLetter B (without the two dots after drive letter) In your .cmd script you can write it like powershell.exe -NoProfile -ExecutionPolicy Bypass -c "&{Get-Partition -DriveLetter D | Set-Partition -NewDriveLetter Z}" >nul 2>&1