CodePudding user response:
[scheme a] for/f + dir[2] for/r (than for/f + dir efficiency is high, but not traverse the hidden files)
[c] WMIC (Win2000/WinXP HOME edition, WinXP lite version may not support)
[plan] four Windows 7 system used to own the where the command
Provide only a brief method the rest put in yourself