Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb/web234/b2344/sl.harringtonweb/public_html/pmwiki2.php:2) in /hermes/bosweb/web234/b2344/sl.harringtonweb/public_html/pub/skins/simple/simple.php on line 39

Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb/web234/b2344/sl.harringtonweb/public_html/pmwiki2.php:2) in /hermes/bosweb/web234/b2344/sl.harringtonweb/public_html/pmwiki2.php on line 866
Harrington Web : Ben - Batch

BATCH COMMANDS

@ECHO OFF - This keeps commands from being shown when run

%# - Can be used to get an argument from a certain number like %1 would be the first.

CLS - Clear Screen Command

ECHO - Write to the screen. The statement below will write hello world on the screen ECHO Hello World

EXIT - Exit out of bat file.

:LABEL - Used to define points in a file for GOTO statements

GOTO LABEL - Allows you to goto a location in the bat file with the certain label.

IF - If statement to allow a user control over the bat file.

PAUSE Prompt the user to press any key to continue.

REM Allows you to place comments into the batch file without displaying or executing that line when the batch file is run.

START - Used to start a program in windows

 
Page last modified on June 06, 2006, at 07:30 PM.