2.1.1 Path Names

The path of a public queue consists of the name of the computer hosting the queue and the name of the queue separated by a backward slash in the form "ComputerName\QueueName". The names of private queues are prefixed by the string "private$" separated by a backward slash. Thus, the path of a private queues has the form "ComputerName\private$\QueueName". The names of system queues are prefixed by the string "system$" separated by a semicolon. Thus, the path of a system queue has the form "ComputerName\system$;QueueName".

A queue path name MUST conform to the following format in Augmented Backus-Naur Form (ABNF) notation.

 QueuePathName = (Computer "\" QueueName / 
                  Computer "\private$\" QueueName /
                  Computer "\system$;" QueueName)
 Computer      = 1*256(VCHAR)VCHAR         = %x21-7E
  

For MSMQ 1.0, the format is as follows.

  
  
 QueueName = 1*124(%x21-3A / %x3C-5B / %x5D-7f) 
     ; Exclude backslash and semicolon
  

For MSMQ 2.0–MSMQ 3.0, the format is as follows.

  
  
 QueueName = 1*124(%x21 / %x23-2A / %x2D-3A / %x3C-5B / %x5D-7f) 
     ; Exclude backslash, semicolon, plus, comma, double quote
  

For MSMQ 4.0–MSMQ 6.0, the format is as follows.

  
  
 QueueName = 1*124(%x21 / %x23-2A / %x2D-3A / %x3C-5B / %x5D-7f)
             [";" Subqueue]
  
 Subqueue  = 1*32(%x21 / %x23-2A / %x2D-3A / %x3C-5B / %x5D-7f)