#91 Iterating through directories and files inside these directories
set myDir="D:\lib"
for /d %%B in (%myDir%\*) do (
@for %%C in ("%%B\*.dat") do echo %%C)
pause
Last Updated on 2020-08-13 by gantovnik
Aug 13, 2020 | batch | 0 comments
#91 Iterating through directories and files inside these directories
set myDir="D:\lib"
for /d %%B in (%myDir%\*) do (
@for %%C in ("%%B\*.dat") do echo %%C)
pause
Last Updated on 2020-08-13 by gantovnik
Subscribe now to keep reading and get access to the full archive.
Recent Comments