What are the alternative way to refer difference directory ?

QuestionTimeQuestionTime Member Posts: 37 ■■□□□□□□□□
Is there any alternative way to refer to the file “c:\Program Files” ?
The better a man is , the more mistakes he will make . Peter Drucker!

Comments

  • Halcyon HellHalcyon Hell Member Posts: 30 ■■□□□□□□□□
    The directory will be i believe called PROGRA~1. The tild sign will be a bit higher in DOS though.
    BOFH (in training)
  • mamonomamono Member Posts: 776 ■■□□□□□□□□
    The directory will be i believe called PROGRA~1. The tild sign will be a bit higher in DOS though.

    What he said...! :D

    Keep in mind that it is the first six characters and order of creation (if you want to get more technical, the number after the tilda will change if another directory has the same first six characters and was created later).

    i.e.
    C:\docume~1

    =

    C:\Documents and Settings
  • dynamikdynamik Banned Posts: 12,312 ■■■■■■■■■□
    And the number will increment if the first six characters match. For example, 64-bit versions of Windows have Program Files and Program Files (x86), so you will have c:\Progra~1 and c:\Progra~2.
  • QuestionTimeQuestionTime Member Posts: 37 ■■□□□□□□□□
    I tried the PROGRA~1 on 32bit Windows XP , it does not work. Can anyone explain what ~1 means ?
    The better a man is , the more mistakes he will make . Peter Drucker!
  • dynamikdynamik Banned Posts: 12,312 ■■■■■■■■■□
    How did you try to use it? Try something like start > run and type c:\progra~1 or open up a command prompt and type cd c:\progra~1.

    It's used to maintain compatibility with things that allow a maximum of eight characters in a directory/file name.
  • QuestionTimeQuestionTime Member Posts: 37 ■■□□□□□□□□
    it gives me the following error:

    'c:\progra~1' is not recognized as an internal or external command,
    operable program or batch file.
    The better a man is , the more mistakes he will make . Peter Drucker!
  • dynamikdynamik Banned Posts: 12,312 ■■■■■■■■■□
    Are you just typing it at a command prompt? You'll get that error unless you do:
    cd c:\progra~1
    
  • QuestionTimeQuestionTime Member Posts: 37 ■■□□□□□□□□
    Silly me ... I forgot to put C:\ in front of it. Thanks for help. It works.

    What ~1 means actually ? Is there any other representation we can use beside ~1 ?
    The better a man is , the more mistakes he will make . Peter Drucker!
  • dynamikdynamik Banned Posts: 12,312 ■■■■■■■■■□
    It's just way Microsoft chose to abbreviate names exceeding eight characters. There's no deeper meaning that I'm aware of.
  • PlantwizPlantwiz Mod Posts: 5,057 Mod
    dynamik wrote:
    It's just way Microsoft chose to abbreviate names exceeding eight characters. There's no deeper meaning that I'm aware of.

    +1
    Plantwiz
    _____
    "Grammar and spelling aren't everything, but this is a forum, not a chat room. You have plenty of time to spell out the word "you", and look just a little bit smarter." by Phaideaux

    ***I'll add you can Capitalize the word 'I' to show a little respect for yourself too.

    'i' before 'e' except after 'c'.... weird?
  • QuestionTimeQuestionTime Member Posts: 37 ■■□□□□□□□□
    Is there any good reference to microsoft abbreviate names for directory ?
    The better a man is , the more mistakes he will make . Peter Drucker!
  • PlantwizPlantwiz Mod Posts: 5,057 Mod
    Is there any good reference to microsoft abbreviate names for directory ?
    http://support.microsoft.com/kb/142982
    Plantwiz
    _____
    "Grammar and spelling aren't everything, but this is a forum, not a chat room. You have plenty of time to spell out the word "you", and look just a little bit smarter." by Phaideaux

    ***I'll add you can Capitalize the word 'I' to show a little respect for yourself too.

    'i' before 'e' except after 'c'.... weird?
Sign In or Register to comment.