REM--Examples
◄Syntax► ◄Notes►
────────────────────────────────────────────────────────────────────────────
REM──Examples
The following example shows a batch file that uses remarks for both
explanations and vertical spacing:
@echo off
rem This batch program formats and checks new disks.
rem It is named CHECKNEW.BAT.
rem
echo Insert new disk in drive B.
pause
format b: /v
chkdsk b:
Suppose you want to include in your CONFIG.SYS file an explanatory comment
before the COUNTRY command. To do this, add the following lines to
CONFIG.SYS:
rem Set country code to France
country=033
The following example shows a DEVICE command that has been disabled by using
a semicolon (;) instead of the REM command:
;device=c:\dos\ramdrive.sys
♦