The 3 Core Elements of Batch Files

Published

Introduction: The 3 Core Elements of Batch Files

About: applications: telnet connector: https://drive.google.com/open?id=0B-k8hK57xOT1ei1nTnlxb2ZpVGc

the name speaks for itself

Step 1: Commands

here's some of the commands you should remember:

telnet [link] [port(if not given, its 23)]

echo [text]

pause (pause>nul does the same thing without text saying "press any key to continue...")

set /p [variable]=[prompt]

Step 2: Variables

to set what a variable, type this:

set /a [variable's name]=[new value]

to prompt the user to type what a variable should be set to, type this:

set /p [variable's name]=[prompt]

Step 3: Checkpoints

to make a checkpoint, type this:

:[checkpoint name]

to go to a chackpoint, type this:

goto [checkpoint name, no ":"]

Share

    Recommendations

    • Make it Move Contest

      Make it Move Contest
    • Woodworking Contest

      Woodworking Contest
    • Planter Challenge

      Planter Challenge
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    Comments