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.
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.



