- May
- 13,190
- 180
Are DIR's /S and /HL options compatible? Whenever I try it with a root directory as target, it doesn't recurse and there's a little corruption in the "Total for" line (C:\C:\Windows?). For example,
If I issue "dir /s /hl c:\windows" it also does not recurse, and the "Total for" line looks like this:
Code:
v:\> dir /s /hl c:\
Volume in drive C is unlabeled Serial number is b813:1d21
Directory of C:\*
2015-06-20 03:45 <DIR> dell
2015-06-20 03:45 <DIR> HP_ePrint
2014-06-26 13:19 <DIR> inetpub
2015-06-20 03:45 <DIR> NVIDIA
2015-06-20 03:45 <DIR> PerfLogs
2016-08-27 19:50 <DIR> Program Files
2014-10-19 15:49 <DIR> temp
2015-11-07 14:37 <DIR> Users
2013-01-26 16:58 <DIR> wd
2016-09-05 21:39 <DIR> Windows
0 bytes in 0 files and 10 dirs
Total for: C:\C:\Windows
0 bytes in 0 files and 10 dirs 0 bytes allocated
2,442,526,720 bytes free
If I issue "dir /s /hl c:\windows" it also does not recurse, and the "Total for" line looks like this:
Code:
Total for: C:\windows\C:\Windows\winsxs\x86_microsoft-windows-ntvdm-system32_31bf3856ad364e35_6.1.7601.17514_none_0014e305d0cff0a7\_default.pif[/code