home bbs files messages ]

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

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

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

   Message 67,601 of 68,980   
   Kerr-Mudd,John to Peter   
   Re: How Determine Current Status of USB    
   16 Jul 20 16:35:53   
   
   From: notsaying@invalid.org   
      
   On Thu, 16 Jul 2020 12:07:42 GMT, Peter  wrote:   
      
   > How can I determine in a batch file which one of these three   
   > conditions is currently true for an external USB drive:   
   >   
   > 1.  The drive is not currently connected to the PC   
   > 2.  The drive is connected but it is currently locked by Bitlocker   
   > 3.  The drive is connected and it is not locked   
   >   
   > Determining #3 is simple but I can’t figure out how to distinguish   
   > between #1 and #2 in a batch file.   
   >   
   > Thanks for any help.   
   >   
   Didn't we already do this one?   
      
      
   --   
   Bah, and indeed, Humbug.   
      
   --- 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