I have a 'robocopy' script to copy files from an internal hard drive to a destination "R:\Documents backup", drive letter 'R' having been allocated to the drive when I formatted it.
I also set up a Task in 'Task Scheduler' to run this script each time a USB drive is attached to the computer - which works,
If the drive connected is not 'drive F' the script starts and stops immediately. If it is drive F then the script runs.
My question is - having set the drive letter for a given drive in Disk Management under Administrative Tools is that enough to set the letter for that hard drive permanently - so that other drives will not be allocated that drive letter at any time and have the files copied to them too - or do I need to do something else?
Thanks for any guidance.
I also set up a Task in 'Task Scheduler' to run this script each time a USB drive is attached to the computer - which works,
If the drive connected is not 'drive F' the script starts and stops immediately. If it is drive F then the script runs.
My question is - having set the drive letter for a given drive in Disk Management under Administrative Tools is that enough to set the letter for that hard drive permanently - so that other drives will not be allocated that drive letter at any time and have the files copied to them too - or do I need to do something else?
Thanks for any guidance.