中国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-13 02:23
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » Question about a batch file???
Printable Version  660 / 3
Floor1 ravkey Posted 2003-11-01 00:00
初级用户 Posts 27 Credits 189
Question about a batch file???

Why is it that after executing the following batch file,

echo @ECHO OFF >tw.bat
echo TW %1 %2 %3 %4 %5 %6 %7 %8 %9 >>tw.bat
echo lh KEY PY WB>nul >>tw.bat
echo echo. >>tw.bat

the second line in the generated file is TW rather than TW %1 %2 %3 %4 %5 %6 %7 %8 %9,
and this % symbol is gone? How should I handle it to achieve what I want?

Please teach me!!!

Thanks.
Floor2 iceboy Posted 2003-11-01 00:00
银牌会员 Posts 512 Credits 1,681
Floor3 ravkey Posted 2003-11-01 00:00
初级用户 Posts 27 Credits 189
Thanks, I'll go try it.
Floor4 GOTOmsdos Posted 2003-12-06 00:00
铂金会员 Posts 1,827 Credits 5,154
I tried it under XP, and there was no problem.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023