title: Escape special characters in mount command
body: <p>I am trying to mount a windows shared folder on Mac OSX Mavericks. A simplistic user name and password worked fine</p>
  
  <p><code>mount -t smbfs //user2:password2@server1.mydomain.com/myproject ~/localmap</code></p>
  
  <p>On trying out the more valid user name and password I am getting errors that parsing URL failed.
  The details are 
  Username: mydomain\user1
  Password: A%b$c@d!e#f</p>
  
  <p>The command tried is</p>
  
  <p><code>mount -t smbfs //mydomain\user1:A%b\$c\@d\!e#f@server1.mydomain.com/myproject ~/localmap</code></p>
  
  <p>Based on what I found, $ and ! needs to be escaped. Need help on how to escape the special characters. Incidentally, using only the username without the domain seems to work in the first case</p>