General discussion

Locked

batch file part2

By frec1 ·
In order for a batch to be executed you have to call it? Is this correct?

FREC

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

batch file part2

by SteveD In reply to batch file part2

You have to call it from another batch file, open it from Explorer, or run it from a DOS prompt by typing its name.

Collapse -

batch file part2

by frec1 In reply to batch file part2

Poster rated this answer

Collapse -

batch file part2

by SyscoKid In reply to batch file part2

No. You can execute a batch file directly at a command prompt, e.g., go to command prompt and type mybatch.bat and the file will execute (or double-click it in My Computer).

"Call" is used from within a batch file to run another batch file. Theoriginal batch file pauses while the "called" batch file does its thing, then the original batch file begins processing with the next line after the "call" function.

Collapse -

batch file part2

by frec1 In reply to batch file part2

Poster rated this answer

Collapse -

batch file part2

by frec1 In reply to batch file part2

This question was closed by the author

Back to Windows Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums