home bbs files messages ]

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

   alt.comp.os.windows-xp      Actually wasn't too bad for a M$-OS      17,273 messages   

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

   Message 16,898 of 17,273   
   AugustA to VanguardLH   
   Re: use a drives guid instead of its let   
   05 May 24 10:15:30   
   
   XPost: alt.windows7.general   
   From: nospam@thankyou.invalid   
      
   On Wed, 1 May 2024 18:13:56 -0500   
   VanguardLH  wrote:   
      
    V> set fileid=USB29072.id   
    V> for /f %i in (`fsutil fsingo drives`) do   
    V>   if exist (%i%%fileid%) set targdrv = %i   
    V>   
    V> Note: Within batch files, double the percent sign on vars, like %%i.   
    V> The %fileid% var doesn't need doubled percents.   
    V>   
    V> That's just off the top of my head without any testing of syntax or   
    V> results.  [...]   
      
   fsinfo, not fsingo.   :D   
      
   This would have been handy in the past.  Interesting.   
      
   --- 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