• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 667
  • 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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

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