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,000 of 68,980    |
|    Zaidy036 to Tom Del Rosso    |
|    Re: DIR of folders    |
|    02 Jan 23 10:11:50    |
      From: Zaidy036@air.isp.spam              On 1/2/2023 3:33 AM, Tom Del Rosso wrote:       > 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?       >       >       XCOPY /T copies only directory structure so can use its output to       control batch flow              --- 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