Rem command in Windows
The rem command helps write comments (comments) in a batch file or CONFIG.SYS. If no comment is specified, the rem command adds a vertical space.For a better understanding of how to use this command, see the example section below.
Command syntax rem
rem []
Command parameter rem
Parameters
Describe
Specify a character string to attach comments.
/?
Show help at thecommand prompt.
Remarks command rem
- The rem command will not display comments on the screen. You must use the echo command in your batch file, or CONFIG.SYS to display the annotations on the screen.
- You cannot use navigation characters () or (|) in a batch file comment.
- Although you can use the rem command without annotations to add vertical spaces to the batch file, you can also use blank lines.The blank lines will be ignored when the batch file is processed.
Example rem command
The following example shows a batch file using comments for comments and vertical spacing:
@echo off
rem tập tin chương trình này khác nhau và kiểm tra các đĩa mới.
rem It is named Checknew.bat.
rem
rem echo Insert new disk in Drive B.
pause
format b: / v chkdsk b:
To attach annotations before the prompt in your CONFIG.SYS file, add the following lines to CONFIG.SYS:
đang gỡ bỏ khi khởi động khi xác định thư mục hiện thời
prompt $ p $ g
See more:
- The qprocess command in Windows
- Qappsrv (query termserver) command in Windows
- The quser (query user) command in Windows
- The pubprn command and the pushprinterconnections command in Windows
4.1 ★ | 8 Vote
You should read it
May be interested
- What is solid battery? Will they solve the battery life problem?we have reached the limit where what lithium-ion or lithium-polymer batteries can do. the solution to this problem may be a solid battery.
- Thread command in windowsthe renaming command helps change file names or directories.
- Repair-bde command in Windowsthe repair-bde command gives access to the encrypted data on the hard disk seriously damaged if the drive is encrypted using bitlocker.
- Fondue command in Windowsthe fondue command activates optional windows features, by downloading required files from windows update or another designated source under group policy.
- What is Electrostatic discharge (Electrostatic discharge)?esd stands for electrostatic discharge, which is one of the few things that causes users to damage or destroy computers or parts of their computers.
- The replace command in Windowsthe replace command helps replace files.