REM in DOS
Results 1 to 10 of 10

Thread: REM in DOS

  1. #1
    photolady's Avatar
    photolady is offline Lifetime Friend of Site Staff
    Join Date
    Mar 2002
    Location
    At my computer, cruising VDR and watching your back
    Posts
    23,412

    REM in DOS

    Don't know if this belongs in here but since it's a DOS command thought I'd ask here and if not for this forum, mod please feel free to move me, er...it.

    I answered a question in which the above REM was asked about, I was then told REM stood for Remark, not Remove. What does Remark mean and what does it do?

  2. #2
    Join Date
    May 2001
    Location
    Dallas,Texas
    Posts
    120
    The REM command in DOS allows the text following it to be read but will not execute it as a command. Similar to the ! command at the head of a line in other coding. It can be placed or removed as it suits your needs when ordering your coding to execute or not. Rem is generally used to advise you of something that is about to happen.

  3. #3
    Join Date
    Nov 1999
    Location
    Stephens City, VA, USA
    Posts
    619
    I think there may have been a REM for remove way, way back, but in most versions of DOS from Microsoft, REM has always been for REMark. Placed at the beginning of a linein a batch file, it denoted lines that were comments, not instructions to be executed. Typically these would be used to explain what the file did, or who wrote it, etc
    dcj2
    -------
    Do I contradict myself?
    Very well then I contradict myself,
    (I am large, I contain multitudes.)
    --Walt Whitman, "Song of Myself"

  4. #4
    photolady's Avatar
    photolady is offline Lifetime Friend of Site Staff
    Join Date
    Mar 2002
    Location
    At my computer, cruising VDR and watching your back
    Posts
    23,412
    Thanks for the explainations. I don't do DOS per se, 6.22 or whatever versions has been. My first computer was Commodore 64, then my next was a MAC, then I jumped to one with win98 on it. The only DOS I've used then has been to scandisk, scanreg, and to see the directory of win98. In other words, using DOS was/is very limited.

  5. #5
    Join Date
    Feb 2000
    Location
    26.03°N 80.14°W
    Posts
    9,410
    Copied straight from the old MS-DOS 6.22 horse's mouth:

    MS-DOS v6.22 Help: REM
    Vernon Frazee, Microsoft MVP (Windows - Shell/User)

    Defenses Up!
    Tip: When prompted for a password, give an incorrect one first. A phishing site will accept it; a legitimate one won't.


    Inside Spyware: A Guide to Finding, Removing and Preventing Online Pests


    If you don't keep up with security fixes, your computer|network won't be yours for long.

  6. #6
    photolady's Avatar
    photolady is offline Lifetime Friend of Site Staff
    Join Date
    Mar 2002
    Location
    At my computer, cruising VDR and watching your back
    Posts
    23,412
    Thanks Vernon. I think the reason I thought REM was remove was because I used it to stop a string from loading/showing in DOS. It was a Photodeluxe command and annoying since I no longer had that program installed.

  7. #7
    Join Date
    Jan 2003
    Location
    Australia
    Posts
    1,743
    Originally posted by dougj
    I think there may have been a REM for remove way, way back
    Perhaps remembering REMDIR? Usually specified as the abbreviated form "RD", both are short for REMove DIRectory.

  8. #8
    Join Date
    Feb 2000
    Location
    26.03°N 80.14°W
    Posts
    9,410
    Vernon Frazee, Microsoft MVP (Windows - Shell/User)

    Defenses Up!
    Tip: When prompted for a password, give an incorrect one first. A phishing site will accept it; a legitimate one won't.


    Inside Spyware: A Guide to Finding, Removing and Preventing Online Pests


    If you don't keep up with security fixes, your computer|network won't be yours for long.

  9. #9
    Join Date
    Nov 2001
    Location
    Fishbel
    Posts
    2,412
    Originally posted by photolady
    Thanks for the explainations. I don't do DOS per se, 6.22 or whatever versions has been. My first computer was Commodore 64, then my next was a MAC, then I jumped to one with win98 on it. The only DOS I've used then has been to scandisk, scanreg, and to see the directory of win98. In other words, using DOS was/is very limited.
    I did a bit of Commodore 64 BASIC programming back in "the day"... Even in 1983, REM stood for "REMark" and was used in BASIC for commenting one's code...
    Code:
    5 REM THIS IS A LOOP THAT PRINTS A LOT OF HELLOES
    10 PRINT "HELLO"
    20 GOTO 10
    Welcome to the Eclipse(C). The Evolution of an Idea
    Options: DCM3 LCR VMS CVM Sil CPI VMI ANI 648 CA1 SACD500 Att CID RLS TIME DLG

    Version: ECLIPSE 2.0.0 09/09/98 System is BUSY Thu 07-21-05 1:31 pm
    Access Level = 10 Port = 10

  10. #10
    photolady's Avatar
    photolady is offline Lifetime Friend of Site Staff
    Join Date
    Mar 2002
    Location
    At my computer, cruising VDR and watching your back
    Posts
    23,412
    Thanks AlaricD but I only had my Commodore for about three months before going Mac. I just wouldn't do what I needed it to do, and I never learned any commands or language.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •