Raymond.CC Blog
  • Home
  • Forum
  • Giveaway
  • X-Ray 2.0
  • Contact
  • About
  • I’m Feeling Lucky
Search the site...
You are here: Home » Windows » Tired of Typing Long File and Folder Names in DOS? Try This…

Tired of Typing Long File and Folder Names in DOS? Try This…

Updated by HAL9000 - 3 months ago - Windows
10
  • Like
  • +1
  • Tweet
  • Printer Friendly and PDF
cmd icon

Most computer users, whether you’re at an advanced level or not, will still need to use the Windows Command Prompt to perform various tasks in Windows, especially those involving repairs. Even today with Windows 8, the Command line and DOS prompt is still a valuable part of the operating system. There are also still some things that many users still prefer to do in the command prompt.

One of frustrating things is typing the long file or folder names into the command prompt. It takes slightly longer to type the long file or folder name and then what’s worse, is when you get it wrong which will result in the message “The system cannot find the path specified”. Then the second time it has to be typed more carefully to avoid typing errors. It can really become a waste of your time…

Without a doubt that most common mistype folder name in the command prompt is “Documents and Settings” while using Windows XP and below. Starting from Windows 2000, you can avoid typing the wrong file or folder names because you can hit the Tab key and it will auto complete the word, much like you can in a web browser to complete a URL.

Autocomplete in DOS or Command Prompt

Here’s an example of how auto-complete works in the Command Prompt.

If you are at C:\ and type in:

C:\>cd doc

change directory

And then press the Tab key, Windows will automatically type in cd “Documents and Settings”

dos autocomplete

Obviously you can do this with any shortened lettering, for example, type “dir pr” while in the root of C:\ and pressing Tab you will get dir “Program Files” pop up.

The files and folder names will cycle by pressing the Tab key several times if you have more than a single folder or file with the same starting letters. Alternatively, pressing Shift and Tab reverses the cycle order. This tip will work in Windows XP, Vista, 7 and even 8 by default.

As for Windows 2000, you’ll need to modify the registry.

1. Go to Start and then click Run.

2. Type regedit and press Enter.

3. Navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor

4. At the right pane of Registry Editor, look for CompletionChar and PathCompletionChar.

5. Double click the name and change the value to 9.

CompletionChar

This is a very easy tip to share and a useful thing for users of the Command Prompt to know about.

Didn't find what you want? The links below could help:

UnWrapper GOTD Saves the Newer Giveawayoftheday Setup Installer FileUnWrapper GOTD Saves the Newer Giveawayoftheday Setup Installer FileList All NTFS Permissions on WindowsList All NTFS Permissions on WindowsCopy and Click to your Favorite Applications with click.toCopy and Click to your Favorite Applications with click.toHow to Create and Access Shared Folders in Windows 7How to Create and Access Shared Folders in Windows 7

10 comments on “Tired of Typing Long File and Folder Names in DOS? Try This…”

  1. caloy says:
    3 months ago

    very helpful, thanks!

    Reply
  2. tullius says:
    5 years ago

    great tip, thanks.

    TIA
    tullius

    Reply
  3. ray says:
    5 years ago

    haha…now i know how that guy access folder really fast in DOS. thanks raymond.

    Reply
  4. Anil says:
    5 years ago

    i am very thankful to you

    again thanks

    Reply
  5. asdf says:
    5 years ago

    Thanks, interesting trick, I didn’t know this one. I usually type dir /x to see the short names, the ugly ones with the ~1, ~2 etc. but this is faster and it works for files as well.

    Reply
  6. jazran says:
    5 years ago

    luckily i am NOT an advanced pc user!yeay!! ;p

    Reply
  7. Chris says:
    5 years ago

    Real Cool, thanks for the info, i knew they’re was a function doing this, just couldn’t figure out where it was :P!

    Reply
  8. EinarRhys says:
    5 years ago

    The only catch or fall back is that you have to keep changing directory one by one. I would say it takes about the same time if you typed it and did it like this… However, this kinda assures you that you will not error in typing as it searches for the most relevant folder… Also, sometimes you might have to specify more alphabets if you have folders starting with the same name.

    Reply
  9. AMTV says:
    5 years ago

    Really cool even for a fast typer :), thanks Tonz !

    Reply
  10. Pratyush says:
    5 years ago

    Thanks buddy, really an awesome trick, well I used to use the * for the same purpose, like for “Documents and Settings” i use:
    cd doc*

    and it does the trick.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recently Updated

  • flash bios icon

    5 Tools to Easily Install FreeDOS or MS-DOS onto USB for BIOS Flashing

  • avast icon

    Reset or Remove avast! Authorization Password to Access Settings

  • U3 icon

    How to Customize U3 USB Smart Drive to Become Ultimate Hack Tool

New Articles

  • task manager replacement icon

    Memory Usage Test to See Which is the Lightest Antivirus Software

  • kaspersky antivirus 2013 icon

    Activate Free Kaspersky Anti-Virus 2013 ROG with 1 Year License

  • remote access software

    Top 8 Remote Access Software for Providing Online Support

Popular Posts

  • Top 10 FREE Data Recovery Software

    Top 10 FREE Data Recovery Software

  • How to Hack Into a Windows XP Computer Without Changing Password

    How to Hack Into a Windows XP Computer Without Changing Password

  • 10 Free Software to Mount CD or DVD ISO Image File as Virtual Drives

    10 Free Software to Mount CD or DVD ISO Image File as Virtual Drives

Recommend on Google
Follow @raymond_cc
Subscribe Youtube »
(c) 2013 Raymond.CC Blog
  • Contact
  • Disclaimer
  • Disclosure
  • Privacy Policy
  • Terms of Use
  • Sitemap