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,599 of 68,980   
   Peter to All   
   How Determine Current Status of USB Driv   
   16 Jul 20 05:07:42   
   
   From: pmokover@gmail.com   
      
   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.   
      
   --- 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