January 2005
Intermediate to advanced
688 pages
25h 59m
English
Content preview from Windows XP in a Nutshell, Second EditionBecome an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,







O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Name
rem — Internal to: \Windows\command.com
Synopsis
Insert comments
(“remarks”) into a batch file.
Lines beginning with rem will be ignored when the
batch file is executed.
Syntax
rem [comment]
Description
The comment can say whatever you want. It’s a good idea to put comments in your batch file so that others (including you in the distant future) can figure out how it works.
The rem command is also useful for disabling
commands. Just add rem right before the command to
disable it.
Examples
A batch file that uses remarks for explanations and to disable a command:
@echo off rem This batch program may one day change a directory. rem But not until I remove the rem before the cd command. rem It is called mydir.bat. rem cd \batch\ch2
This example, if executed, would do absolutely nothing.
See Also
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access