Results 1 to 13 of 13

Thread: MS-DOS

  1. #1
    3 Star Lounger
    Join Date
    Jun 2003
    Posts
    238
    Thanks
    0
    Thanked 0 Times in 0 Posts

    MS-DOS

    In dos is there a way to rename a folder?

  2. #2
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: MS-DOS

    Yes, the REN command works on files and folders. I usually find it easier to type the command if I use the CD command to get to the "parent" folder of the one that needs to be renamed. Come back if you have a problem.

  3. #3
    3 Star Lounger
    Join Date
    Jun 2003
    Posts
    238
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: MS-DOS

    So if i wanted to rename the to dog what would i type?

  4. #4
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: MS-DOS

    Your request is a bit cryptic (I don't think you typed the complete phrase), so let me gin up an example. Let's say you have a folder on your C: drive named TEMP, and under that you have a folder named CAT that you want to rename to DOG. After getting into DOS by whatever means you plan to do so, type the following:

    C: (press enter)
    cd temp (press enter)
    ren cat dog (press enter)

    That should do it and you can then type DIR (press enter) to make sure.

  5. #5
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Cairns, Queensland, Australia
    Posts
    885
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: MS-DOS

    Isn't it sad to see DOS relegated to "Other OSes"? <img src=/S/sad.gif border=0 alt=sad width=15 height=15>
    Granville

  6. #6
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Brantford, Ontario, Canada
    Posts
    2,391
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: MS-DOS

    But it's with the good OSes, such as Linux <img src=/S/grin.gif border=0 alt=grin width=15 height=15>
    Christopher Baldrey

  7. #7
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Cairns, Queensland, Australia
    Posts
    885
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: MS-DOS

    Ah! Then maybe we should lobby to have it changed to "Stable, Easy to Understand, Simple to Use, Cool OSes"! <img src=/S/evilgrin.gif border=0 alt=evilgrin width=15 height=15>
    Granville

  8. #8
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: MS-DOS

    OTOH, we could argue that these are simply command-line commands, not a different OS. Then OYTOH (On Yet The Other Hand) we could argue that I'm being an annoying pedant.
    -John ... I float in liquid gardens
    UTC -7ąDS

  9. #9
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Brantford, Ontario, Canada
    Posts
    2,391
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: MS-DOS

    I'm all for that <img src=/S/grin.gif border=0 alt=grin width=15 height=15>.
    Christopher Baldrey

  10. #10
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: MS-DOS

    Who's going to argue? <img src=/S/laugh.gif border=0 alt=laugh width=15 height=15> <img src=/S/duck.gif border=0 alt=duck width=23 height=23> <img src=/S/flee.gif border=0 alt=flee width=25 height=25>
    -Mark

  11. #11
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Cairns, Queensland, Australia
    Posts
    885
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: MS-DOS

    Mark,

    Since when has <img src=/S/flee.gif border=0 alt=flee width=25 height=25> stood for "running to embrace"? <img src=/S/innocent.gif border=0 alt=innocent width=20 height=20>
    Granville

  12. #12
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Newark, New Jersey, USA
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: MS-DOS

    That has to be the best thing ever said!!! <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16> <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>

    You are my new best friend....

    [wolfman]
    Mike Wolfman
    Jack of all, Master of none
    Bow before me, for I am root.
    <IMG SRC=http://www.wopr.com/w3tfiles/112673-wolfsig.jpg>

  13. #13
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: MS-DOS

    Most "DOS" commands (in this I include the DOS-like commands in NT, 2000, and XP) allow you to get help on them this way:
    <hr><pre>C:>ren /?
    Renames a file or files.

    RENAME [drive:][path]filename1 filename2.
    REN [drive:][path]filename1 filename2.

    Note that you cannot specify a new drive or path for your destination file.

    C:></pre>

    <hr>
    Hope this helps.

Posting Permissions

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