It displays or echos each line of the batch file to the output window before executing it.
rem is a comment that is only seen if you edit the batch echo actually is printed when the batch is running
sample of prompt in batch file: echo. echo prompt jade $p$g echo. pause
It jumps to the line after the indicated label. For example, this batch... @ECHO OFF ECHO apple GOTO BANANA ECHO sauce :BANANA ECHO ice cream ... would generate the following output: apple ice cream
A period right after the "echo" command would echo an empty line.
Simply type echo %variablename%
echo $PATH
Here is an example of a batch file that carries out the command ipconfig. @echo off ipconfig /all pause exit
While there are many uses for the period character in a batch script, the most common would be... - The current directory. - New line when used with the ECHO command. Example: ECHO. - The character which separates the extension from the filename. Example: Filename.Ext
Here's the code: @echo off copy "Location of Batch File" "Location to copy file into" exit
1. Click on the Start Menu 2. Click on the Run command 3. Type in: cmd 4. Type in: help This should help you a lot with commands. Use: help <command> for details on a certain command. Example: help echo Use the echo command to make the batch file talk. Example is: @echo echo "This is what they will see" Make sure to include the ""s.
Platform dependent. Example for linux: for i in 1 2 3; do echo "i=$i" done
You can make a folder with batch by using the command: md Foldername Example: @echo off md WikiAnswers exit The batch file would make a folder named WikiAnswers, and it would appear on your desktop