Find out DOS path name (8 character) for the directory

By neokrates, written on March 22, 2011

howto

Rate it
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading ... Loading ...
Ad
Poll
  • Would you buy digitally protected media or software?

    • Never (100%, 6 Votes)
    • Absolutely (0%, 0 Votes)
    • Yes, because I understand that it protects the rights of owner (0%, 0 Votes)
    • I might, if I really like the product (0%, 0 Votes)
    • No, because then I might get difficulties using product myself (0%, 0 Votes)

    Total Voters: 6

    Vote

    Loading ... Loading ...
Feeds:
  • bodytext bodytext bodytext
Most popular search terms:

Given you have dos directory and you need an 8 character format of it. Just switch in the parent directory and use DIR command. Here are some examples

[i] We still sometimes need some path in DOS native 8 chars format. Programs like make or build in commands (cp), would require 255 characters paths for path.

GNU make sometimes fails to work with space in path.

use dir /x in parent directory to find 8 character names of sub-dirs:

c:\parentdir>dir /x

Example:

C:\>dir /x
...
11.01.2008  15:47    <DIR>          DOCUME~1     Documents and Settings
01.12.2006  09:10    <DIR>          MYPROJ~1     My Projects
21.01.2011  14:08    <DIR>          PROGRA~1     Program Files
...

Here, you see that Documents and Settings is DOCUME~1 and Program Files is PROGRA~1

have fun

 
Does that help to solve your problem?
VN:F [1.8.5_1061]
Rating: +5 (from 5 votes)
5 votes 'YES'  0 votes 'NO'

LEARN MORE (amazon bookstore)

TAGS


RELATED
Pages
Posts
    nope :(

SOCIAL
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • BlinkList
  • Blogosphere News
  • E-mail this story to a friend!
  • Furl
  • LinkArena
  • Live
  • MisterWong
  • Print this article!
  • StumbleUpon
  • Technorati
  • Webnews.de
  • YahooMyWeb

INCOMING SEARCH TERMS


One Response to “Find out DOS path name (8 character) for the directory”

  1. [...] Find out DOS path name (8 character) for the directory | thinkplexx.comMar 22, 2011 … Given you have dos directory and you need an 8 character format of it. Just switch in the parent directory and use DIR command. Here are … [...]

    Like or Dislike: Thumb up 0 Thumb down 0

Leave a Reply