title: How to enable autocompletion while entering paths?
body: <p>Back in <code>cmd.exe</code>, I used</p>
  
  <pre><code>set /P file=Enter path to the file: 
  </code></pre>
  
  <p>to enter file path from console (if it wasn't supplied as a parameter), and I could press <code>Tab</code> to get path auto-completion. However, when I execute in Powershell </p>
  
  <pre><code>$file = Read-Host -Prompt "Enter path to the file"
  </code></pre>
  
  <p>then I cannot use <code>Tab</code> to get auto-completion, it just inserts a tabulation in the input. IS there a way to simulate the former behaviour?</p>