title: Batch File Command Hide Password
body: <p>I have this batch file I wrote to open putty and want to make it a universal script for others. The script is as follows</p>
  
  <pre><code>@echo off
  ::Written by Mark Gulick::
  ::Today's Date 20150316::
  
  set /p U="Enter Username: "
  set /p P="Enter Password: "
  set /p DC="Enter DC Number: "
  start /d "C:\Program Files (x86)\putty\" PUTTY.EXE %U%@b0%DC%db -pw %P%
  pause
  </code></pre>
  
  <p>I would like to make the password not show up and have tried some areas on here and haven't found one that will work. I might be doing it wrong too. I'm a little rusty on my scripting. Am I missing something or should I use something else other then the set command?</p>