echo for /L %%i in (1 1 10) do start cmd>>test.batI want to put for /L %%i in (1 1 10) do start cmd into test.bat, but actually what is written into test.txt is for /L %i in (1 1 10) do start cmd, always missing a %, please give advice, I'm a newbie.
───────────────── Moderation Record ─────────────────
Performed by: HAT
Operation: Added search keywords to the post title on 2008-10-10; added code tags to the code
Explanation: The original title "About the usage of echo" was not conducive to forum search
Punishment: No score punishment due to being a forum newbie
Tip: It is suggested to read the following posts
{1415}The Wisdom of Asking Questions
{7326}Must-read for Forum Newcomers, Basic Code of Conduct for Everyone
{22703}Please Don't Be an Impatient Person
{32667}Those Who Can't Even Write a Clear Title, Wake Up
{32825}This Board Strictly Rectifies Poor-quality Posts
───────────────── Moderation Record ─────────────────
[ Last edited by HAT on 2008-10-10 at 05:43 ]
