title: Error on attempt to create named pipe using VBScript
body: <p>I'm trying to create named pipe using VBScript on win7.
  This is my code (took from <a href="https://stackoverflow.com/a/10943564/2018010">there</a>):</p>
  
  <pre class="lang-vb prettyprint-override"><code>Set fs = CreateObject("Scripting.FileSystemObject")
  Set a = fs.CreateTextFile("\\.\pipe\PipeName", True)
  a.WriteLine("This is a test.")
  a.Close
  </code></pre>
  
  <p>But i got an error (manual translate, so may be not accurate):</p>
  
  <pre><code>test.vbs(2, 1) Microsoft VBScript runtime error: File not found
  </code></pre>
  
  <p>Same code with ordinary text file works fine:</p>
  
  <pre class="lang-vb prettyprint-override"><code>Set a = fs.CreateTextFile(".\\PipeName", True)
  </code></pre>
  
  <p>But, when i tried to escape backslashes:</p>
  
  <pre class="lang-vb prettyprint-override"><code>Set a = fs.CreateTextFile("\\\\.\\pipe\\PipeName", True)
  </code></pre>
  
  <p>I got:</p>
  
  <pre><code>test.vbs(2, 1) Microsoft VBScript runtime error: Path not found
  </code></pre>
  
  <p><strong>UPD:</strong> I run script as administrator.</p>
  
  <p><strong>UPD2:</strong> I'm found another solution for my problem without using pipes, so my question is a little outdated, but I don't know what to do with it.</p>