johnnyhall81 Posted July 19, 2005 Posted July 19, 2005 Is it possible to include a number of statements to be executed in a FOR loop?For example:FOR /L %%A in (1,1,10) DO {statement1statement2statement3}All help is greatly appreciated.Johnny
Delprat Posted July 19, 2005 Posted July 19, 2005 replace { } by ( ) :FOR /L %%A in (1,1,10) DO (statement1statement2statement3)and yes, the openning prenthesis must be on the FOR line.you should read the included help :for /?if /?set /?cmd /?and so on...bye
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now