Windows path with "$" at the end

public static string QueuePrefix = @".\Private$\"; 

What does $ at the end of the line used to traverse the path mean? My google foo is not strong enough to find out.

+6
source share
4 answers

On behalf of the variable - QueuePrefix , it looks like the path of the private queue MSMQ - http://technet.microsoft.com/en-us/library/cc776346(WS.10).aspx

Otherwise, $ is a valid character in the file / directory name on Windows, and it can be simple. Moreover, in your case .\ . But, like many others, it is used to denote shares like \\C$ , etc.

+7
source

If it is a Windows system, $ is a hidden or administrative part. This is usually the default setting ("C $" is the default common for C drive) or hide the shared folder so that it is not programmed programmatically or is easily accessible by unwanted users.

+4
source

It looks like MSMQ (Microsoft Message Queuing) -Path to me. Private queues that are local to the system are prefixed with \ Private $ \ in MSMQ.

+4
source

The dollar sign does not have much meaning in the way - it is interpreted as a normal symbol. It is often seen as part of the path for the overall administration share, for example \\C$\ for drive C.

0
source

Source: https://habr.com/ru/post/899162/


All Articles