I have an external hard drive that I connect often to my computer. At some point it was assigned letter G: and based on that my other software works.
Nowadays, suddenly it gets letter F:
Is there any way I can use a batch script to change the letter from F: to G:. I don't mind running the batch script manually?
If so, what is the code I should use and will it need administrative permissions?
diskpart
and yes you need admin. In theory it should have remembered the drive letter, consider changing it manually on disk management first.