@echo off
set vv=c d e
cd .> log.txt
for %%a in (%vv%) do (
cd /d %%a:
for /r %%b in (*.iso) do (
echo %%b >> log.txt
pause
)
)
Why is the LOG.TXT file empty? If I turn on echo and don't redirect to a file, I can see the files it finds. I'm a DOS newbie, please help me out, experts. Thanks!
set vv=c d e
cd .> log.txt
for %%a in (%vv%) do (
cd /d %%a:
for /r %%b in (*.iso) do (
echo %%b >> log.txt
pause
)
)
Why is the LOG.TXT file empty? If I turn on echo and don't redirect to a file, I can see the files it finds. I'm a DOS newbie, please help me out, experts. Thanks!
