home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 41,883 of 42,547   
   MajorLanGod to jj4public@gmail.com   
   Re: What solution do you use to figure o   
   04 Sep 20 21:37:04   
   
   XPost: alt.comp.os.windows-10, alt.comp.microsoft.windows   
   From: lonelydad58@gmail.com   
      
   JJ  wrote in   
   news:nx2ytaviku6f$.18ount5znnhmj.dlg@40tude.net:   
      
   > On Thu, 3 Sep 2020 16:51:29 -0000 (UTC), Arlen Holder wrote:   
   >>   
   >> Note that identifying only and all (Type 2) USB drives is easy,   
   >> but... o What method do you use to ensure a command always gets the   
   >> right USB drive?   
   >   
   > For me who sometime still use virtual floppy disks, the `MediaType`   
   > WMI field is also needed to provide more accurate result. Because   
   > drive type `2` (Removable Disk type) is also used for floppy drives   
   > and likely LS-120/ZIP/JAZZ drives too. FYI, if it's a thumb drive   
   > including SD cards, the media type would be `12` (Fixed Disk).   
      
   Back when I was playing with a lot of different USB drives, I reserved a   
   drive letter for each specific USB drive. Windows will assign the next   
   currently available drive letter whenever a USB drive is mounted. I just   
   used Disk Management to change that letter to the one I wanted. Granted,   
   once one gets to 20 different USB drives or so this method falls apart,   
   although I never tried to use two letters to identify a drive, I don't   
   thing Windows will allow that.   
      
   Windows also allows one to Name each drive, and I assume there is a way   
   to examine that name without too much trouble.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca