What is rem Command in Windows Server 2008

In this article I am going to explain about rem command in windows server 2008 operating system.
  • 2062

Rem command in Windows Server 2008

The rem command is  used to record comments in a batch file.

Syntax of Rem command

rem [<Comment>]

Parameters in Rem command

It has only one parameter:
 
Parameter Description
<comment> It specifies a string of characters to include as a comment.

Example of Rem command

@echo off
rem This batch program formats and checks new disks.
rem It is named test.bat.
rem
rem echo Insert new disk in Drive D.
pause

Output:

rem-in-windows-server-2008.jpg

Ask Your Question 


Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.