On 2019-12-22 06:08, Eliot Moss wrote: > On 12/22/2019 7:34 AM, Andrey Repin wrote: > >> Drive has specific network path, use it. > > Thank you, Andrey, but with (admittedly minimal) searching and > playing around, I could not figure out how to determine what > that path is. This is a locally attached (USB) external drive. > And I may be on networks where network discovery is not wise ...
https://www.online-tech-tips.com/computer-tips/how-to-change-the-drive-letter-in-windows-xp-for-an-external-usb-stick-or-hard-drive/ With drive inserted, run: Computer Management/Storage/Disk Management/select Removable Drive/context menu Change Drive Letter and Paths/Change button/either select Assign...letter/select letter/or select Mount in...folder/browse or type path to an empty folder/OK/OK. List by volume label: $ wmic logicaldisk where "VolumeName='LABEL'" list brief DeviceID DriveType FreeSpace ProviderName Size VolumeName D: 3 797638373376 999007711232 LABEL > Is there a canonical network name for a locally attached drive with a > particular label? Windows doesn't really use labels, but there is a local volume GUID: $ mountvol # lists all volume paths \\?\Volume{...}\ $ l /proc/sys/GLOBAL\?\?/Volume\{...\}/ '$Recycle.Bin'/ PerfLogs/ swapfile.sys 'Documents and Settings'@ 'Program Files'/ 'System Volume Information'/ hiberfil.sys 'Program Files (x86)'/ Users/ OEM/ ProgramData/ Windows/ PageFile.sys Recovery/ $ l /proc/cygdrive/d/ '$Recycle.Bin'/ PerfLogs/ swapfile.sys 'Documents and Settings'@ 'Program Files'/ 'System Volume Information'/ hiberfil.sys 'Program Files (x86)'/ Users/ OEM/ ProgramData/ Windows/ PageFile.sys Recovery/ $ cmd /c 'dir /a \\?\Volume{...}\' Volume in drive \\?\Volume{...} is LABEL Volume Serial Number is XXXX-XXXX Directory of \\?\Volume{...} 2018-09-21 15:26 <DIR> $Recycle.Bin 2018-09-19 15:09 <JUNCTION> Documents and Settings [C:\Users] 2018-09-21 11:13 7,448,412,160 hiberfil.sys 2018-09-20 13:23 <DIR> OEM 2019-12-07 04:06 8,589,934,592 PageFile.sys 2018-04-11 16:38 <DIR> PerfLogs 2018-09-20 19:51 <DIR> Program Files 2018-09-20 19:51 <DIR> Program Files (x86) 2018-09-20 18:13 <DIR> ProgramData 2018-09-20 17:53 <DIR> Recovery 2018-09-21 11:01 268,435,456 swapfile.sys 2018-12-04 17:56 <DIR> System Volume Information 2019-03-20 07:49 <DIR> Users 2018-09-20 18:09 <DIR> Windows 3 File(s) 16,306,782,208 bytes 11 Dir(s) 0 bytes free -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple