1 of 11

Slide Notes

DownloadGo Live

Batch Programming

Published on Nov 20, 2015

No Description

PRESENTATION OUTLINE

BATCH PROGRAMMING

THE LANGUAGE OF COMMAND PROMPT
Photo by kjetikor

WHERE?

WRITE THE CODE IN NOTEPAD AND SAVE AS ".BAT"
Photo by Sean MacEntee

BASIC SYNTAX

IT IS CRUCIAL TO KNOW
Photo by -Dreamflow-

BASIC SYNTAX

  • It is crucial to know basic commands
  • If ever in doubt you can always:
  • Use the Internet.
  • Go to CMD and write the command followed by /?
Photo by shog9

LEARN HOW TO ECHO

TYPE ECHO /? INTO CMD
Photo by cobalt123

TAKE A BREATH

WRITE PAUSE. YOUR CODE STOPS UNTIL A KEY IS PRESSED.
Photo by bredgur

DISCOVER VARIABLES

A VERSATILE & ESSENTIAL TOOL. TYPE SET /? INTO CMD
Photo by pepe50

MAKE CHOICES

LEARN THE IF STATEMENT. IF /?.
Photo by Holy455

NEVER STOP

BE INFINITE. USE LOOPS WITH GOTO /?

MIX IT UP

PERSONALISE YOUR BATCH FILE WITH A COLOUR CHANGE. TYPE COLOR /?

HAVE FUN

DERP AROUND. WHO CARES? ENJOY YOUR GROWING SKILLS.
Photo by Tina Hsu