title: Sending parameters having special characters to another batch file from a batch file
body: <p>I have the below code:</p>
  
  <p><strong><code>second.bat</code> file</strong></p>
  
  <pre><code>echo %~1
  echo %~2
  </code></pre>
  
  <p><strong><code>first.bat</code> file</strong></p>
  
  <pre><code>@ECHO OFF &amp;SETLOCAL
  @SETLOCAL EnableExtensions EnableDelayedExpansion
  
  set /p User=Enter Username: 
  set /p Password=Enter Password: 
  
  call second.bat %User% %Password%
  </code></pre>
  
  <p>If user inputs <code>Admin</code> as username and <code>Admin!23</code> as password the output produced in <code>second.bat</code> echo is as below:</p>
  
  <blockquote>
  <pre><code>Admin
  Admin23
  </code></pre>
  </blockquote>
  
  <p>How can I get the special characters as well in the <code>second.bat</code> file like below?</p>
  
  <blockquote>
  <pre><code>Admin
  Admin!23
  </code></pre>
  </blockquote>