I have a department that puts a USB drive in their Fileserver every day. I would like to run a command line to format W: /q /c /FS:NTFS /V:F10%day of month% However the drive letter is not always W: Some days it is D: Some H: some whatever. Is there a way to command line find the USB drive, (only one each day), assign it a letter (W:) Then run my format command and my backup (Copy) command later? The variable for day of month I have sorted. I just need to get the drive letter to be the same every day So I can schedule.
Server is a 2012 R2. I can use DISKPART if needed (Will need a little guidance if it is required.) This e-mail and any files transmitted with it are property of Indiana Members Credit Union, are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this email is strictly prohibited. Please consider the environment before printing this email.
