What are the alternative way to refer difference directory ?
QuestionTime
Member Posts: 37 ■■□□□□□□□□
in A+
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 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)
-
mamono Member Posts: 776 ■■□□□□□□□□Halcyon Hell wrote:The directory will be i believe called PROGRA~1. The tild sign will be a bit higher in DOS though.
What he said...!
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 -
dynamik 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.
-
QuestionTime 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!
-
dynamik 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. -
QuestionTime 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! -
dynamik 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
-
QuestionTime 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! -
dynamik 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.
-
Plantwiz Mod Posts: 5,057 Moddynamik wrote:It's just way Microsoft chose to abbreviate names exceeding eight characters. There's no deeper meaning that I'm aware of.
+1Plantwiz
_____
"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? -
QuestionTime 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!
-
Plantwiz Mod Posts: 5,057 ModQuestionTime wrote:Is there any good reference to microsoft abbreviate names for directory ?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?