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 40,969 of 42,547   
   Todd to All   
   How do I find drive letter for a drive l   
   05 Aug 14 21:21:47   
   
   From: Todd@invalid.invalid   
      
   Hi All,   
      
   Is there a way from the command line to figure out   
   what a drive letter is for a flash drive based   
   on the drive's label.   
      
   For instance, if the operator plugs a flash drive   
   in with the desired label of "MYBACKUP", how can   
   I figure out what its drive letter is and set a variable   
   for use in my script?   
      
   Many thanks,   
   -T   
      
   --- 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