public static string QueuePrefix = @".\Private$\";
what does the $ at the end of a string used for path traversel mean? My google foo is not strong enough to find out.
They indicate that the path should be passed to the system with minimal modification, which means that you cannot use forward slashes to represent path separators, or a period to represent the current directory, or double dots to represent the parent directory.
Answer: A UNC path, or Universal Naming Convention, is simply a shared folder on a computer. The purpose for this folder is so when you upgrade, the registers and back office computers know where the upgrade file is and can connect to it. An example of an UNC path is \\ComputerName\SharedFolder.
A list of directories in which to look for image files.
How to find the absolute path in Windows. You can determine the absolute path of any file in Windows by right-clicking a file and then clicking Properties. In the file properties first look at the "Location:" which is the path to the file. In the picture below, the location is "c:\odesk\computer_hope".
From the name of the variable - QueuePrefix
, looks like MSMQ private queue path - http://technet.microsoft.com/en-us/library/cc776346(WS.10).aspx
Otherwise, $
is a valid character in file / directory name in Windows and it could just be that. Especially since it has .\
in your case. But like others mentioned, it is used to to denote shares like \\C$
and so on.
This looks like a MSMQ (Microsoft Message Queueing)-Path to me. Private queues which are local to a system are prefixed with \Private$\ in MSMQ.
If it's a Windows system, the $ represents a hidden or administrative share. This is typically setup either by default ("C$" is the standard share for the C drive), or to obscure the shared folder so that it is not programmatically found or easy to access by unwanted users.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With