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 68,064 of 68,980    |
|    Kenny McCormack to Tom Del Rosso    |
|    Re: list endpoint folders    |
|    20 May 23 18:05:02    |
   
   From: gazelle@shell.xmission.com   
      
   In article ,   
   Tom Del Rosso wrote:   
   >How do you operate on all folders in a tree that don't have subfolders,   
   >so just the endpoints?   
   >   
   >The obstacle is that if you test a folder with DIR /AD it always returns   
   >. and .. and never errorlevel 1.   
      
   dir /ad | findstr "/C:2 Dir(s)" >nul && echo This directory has no   
   subdirectories!   
      
   --   
   The single most important statistic in the US today - the one that explains   
   all the   
   others - is this: 63 million people thought it was a good idea to vote for   
   this clown   
   (and will probably do so again). Everything else is secondary to that.   
   Everything else   
   could be fixed if we can revert this one statistic. Nothing can be fixed until   
   we do.   
      
   --- 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