中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-11 22:57
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » [Help] Redirection stopped working, experts please give me some pointers.
Printable Version  819 / 1
Floor1 monoacqui Posted 2010-08-26 12:25
新手上路 Posts 2 Credits 2
@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!
Floor2 monoacqui Posted 2010-08-31 10:40
新手上路 Posts 2 Credits 2
Are all the experts not at home? No one is helping me :-(

I'll take the first reply myself and wait for help, bumping the thread.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023