{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Operating_systems-page36

Operating_systems-page36 - Jelena Mamenko Operating Systems...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Jelena Mamčenko Operating Systems Lecture Notes on Operating Systems 36 ECHO OFF To restart echoing, type: ECHO ON When ECHO is off no part of the actual DOS commands in the batch file will show on the screen. To display a message put it after the ECHO command: ECHO Message As you will see, the REMark command also displays messages; but NOT if ECHO is off! Use ECHO if you want the message to show no mater what. REMark REMark can be used to send messages to the screen or simply to document some part of your batch file's operation. Use them extensively in long batch files. The computer operator (it won't always be you) wants to know what is happening and, over time, you might forget what a complicated set of commands really does. The format is: REM Message REMarks can be up to 123 characters long, although you usually won't want to go over the screen width so you can control the display. An undocumented, variation of this command is the period. In DOS 2.x, if a line in a batch file starts with one or more periods (.) it is treated as a remark. It is dangerous to use this however
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern