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,997 of 68,980   
   Tom Del Rosso to All   
   DIR of folders   
   02 Jan 23 03:33:59   
   
   From: fizzbintuesday@that-google-mail-domain.com   
      
   One annoying habit of windows is that it doesn't always distinguish   
   between   
   DIR C:\WORK   
   and   
   DIR C:\WORK\*.*   
      
   So if you want to list all folders of a certain name like TEMP   
   C:\Tech\Android\TEMP   
   C:\Tech\TEMP   
      
   then   
   DIR /S/B/AD C:\Tech\TEMP   
      
   will look only into   
   C:\Tech\TEMP   
      
   and since it doesn't contain another TEMP under it like   
   C:\Tech\TEMP\TEMP   
      
   the output is blank.   
      
   I can think of kludgey ways to get around that, but is there an elegant   
   way?   
      
      
   --   
   Defund the Thought Police   
      
   --- 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