Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I guess the title just about says it all. And yes, .\, not that obsolete \. thing.

:)

For those who don't know, .\ is a shorthand way of saying "this computer"*see "footnote" in Windows at a logon screen, which comes in very handy when you don't know or care about the local computer name but need to authenticate against it anyway, such as through RDP or scripting against a set of shared local users and passwords or even locally, if you're unlucky enough to have to physically go to a machine.

Does this have an actual name, and if so, what is it? I feel kind of stupid saying the dot-slash thing, which is how I've been referring to this.

*Footnote: As pointed out by @OliverSalzburg , the . is actually the shorthand for "this machine" and the \ serves as a separator between hostname and username when using the [host]\[user] style of authentication against a Windows machine.

share|improve this question
8  
+1 I didn't know that ".\" was shorthand for "<this computer>\<user name>", thanks for the TIP! –  HeatfanJohn Sep 21 '12 at 13:27
    
never really thought about it, but maybe it's similar to Linux .\ for "current directory"? Or perhaps that was a simple enough "variable" character for MS to use? –  TheCleaner Sep 21 '12 at 13:28
1  
I've always referred to it as "Local", I guess from the way that . and (Local) can be used interchangeably in SQL Server Management Studio. Incidentally, you don't even need the dot in most cases - certainly when I've connected to UNC paths on remote machines and wanted to use an account on that machine, I've just used \Username –  Chris McKeown Sep 21 '12 at 13:36
5  
.\ is not the shorthand. . is. The backslash is always used to delimit host from user. –  Oliver Salzburg Sep 21 '12 at 14:04
1  
@Oliver Salzburg While that is technically true, I don't imagine that a question asking what the name of the . character is would have been a constructive or useful way to spend anyone's time. –  HopelessN00b Sep 21 '12 at 15:22
show 3 more comments

2 Answers

up vote 7 down vote accepted

No, there is no specific name for that combination for logging on. Many people have their own name for it but Microsoft never gave it a name and no pseudo standard has ever evolved. The use of ".\" was used because it was already used for file system addressing and it made sense to extend it to machine reference. The nearest it ever came to getting an official name is that "." is called "this" but that is quite unofficial.

share|improve this answer
    
Thanks much. I was starting to think so, but wanted to be sure, and you saying so is plenty of certainty for me. –  HopelessN00b Sep 21 '12 at 22:09
add comment

The "." simply resolves to the local "whatever" in the PATH/URI systems. So on a file system the "." means the current directory, and in the domain field meands the current system. The "\" delimits domain from user, so .\ literally resolves to the current system with the username to follows. If you're looking for a name for the shorthand - we've always referred to it as "localhost" though that's not strictly accurate (in the URI scheme ./ would be localhost).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.