Go Premium for a chance to win a PS4. Enter to Win

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 644
  • Last Modified:

What are two backslashes in a path?

A file path has single backslashes as follows:

POSEK = C:\isi\POSEK_30.1

Now, consider a path with two backslashes:

HOMESHARE = \\n1xpaffn4.au.fu.some.com\userdata\tankl

What is the meaning of two backslashes?

2 Solutions
Thats the UNC or network path. The \\ is for the server the share is on.

So \\n1xpaffn4.au.fu.some.com
is the server the folders \userdata\tankl reside on.
Ivano ViolaSystem AdministratorCommented:
Two backslashes are used when referring to a location on the network.
Example: \\MyServer\MyFiles
This path refers to a server that hosts a folder share named My Files.

C:\MyServer\MyFiles would refer to a folder structure located on your computer. If you go to the C: drive on your computer you would then see a folder named MyServer which has a folder named MyFiles inside.
naseeamAuthor Commented:
Thanks for great answers.  They are extremely helpful.

Also, the response was very fast.

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now