I have a CMD file that does a backup of selected files from my hard drive to a USB drive of my choice (the CMD file asks me to enter the drive letter).
I'd like to have the CMD file automatically eject the USB drive when the backup is complete. And I would like to prevent Windows from automatically "recognizing" that drive the next time I boot Windows.
[Currently, I manually eject the drive after the backup, but when I turn on the computer the next day, Windows "un-ejects" it. I'd like the drive to remain inaccessible until I manually remove it and re-insert it.]
Is this possible. If so, how?
I'd like to have the CMD file automatically eject the USB drive when the backup is complete. And I would like to prevent Windows from automatically "recognizing" that drive the next time I boot Windows.
[Currently, I manually eject the drive after the backup, but when I turn on the computer the next day, Windows "un-ejects" it. I'd like the drive to remain inaccessible until I manually remove it and re-insert it.]
Is this possible. If so, how?