Take a look at the diskpart command. Specifically, the assign subcommand and the /s scripting switch.
In reply to Re^3: How to change the drive letter for a CD/DVD drive on Windows?
by BrowserUk
in thread How to change the drive letter for a CD/DVD drive on Windows <b>Update: with a script</b>?
by matze77
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |