title: Pb with spaces in .bashrc ALIAS
body: <p>I have exactly the same pb :
  <a href="https://stackoverflow.com/questions/3928312/spaces-in-cygwin-bash-aliases">Spaces in Cygwin/bash aliases?</a></p>
  
  <p>i'm using rxvt in bash mode and i'm trying to setup my alias in the .bashrc
  If i follow the answer of the previous post my alias look like this:</p>
  
  <pre><code>alias ma="/cygdrive/c/Program\ Files/Autodesk/Maya2011/bin/maya.exe"
  </code></pre>
  
  <p>but i get this :</p>
  
  <pre><code>$ ma
  : No such file or directoryiles/Autodesk/Maya2011/bin/maya.exe
  </code></pre>
  
  <p>i also try this synthax :</p>
  
  <pre><code>alias ma="/cygdrive/c/Program Files/Autodesk/Maya2011/bin/maya.exe"
  </code></pre>
  
  <p>but it give me </p>
  
  <pre><code>$ ma
  bash: /cygdrive/c/Program: No such file or directory
  </code></pre>
  
  <p>So if you guys have any idea on how to solve this, it would be great !</p>
  
  <p>Cheers</p>
  
  <p>sk</p>
  
  <p>PS : i Edit my question because i'm not allowed to answer my own question </p>
  
  <p>Thanks for your help guys !</p>
  
  <p>i try to replace with the Progra~1 synthax and it doesn't work. So i was wondering if the pb comes from the space character.</p>
  
  <p>so i try to create an alias to an .exe that doesn't need space character:</p>
  
  <pre><code>alias py1="/cygdrive/c/Python27/python.exe"
  alias py2='/cygdrive/c/Python27/python.exe'
  alias py3=/cygdrive/c/Python27/python.exe
  alias py4='cd /cygdrive/c/Python27'
  </code></pre>
  
  <p>and i also get an error</p>
  
  <pre><code>    $ py1
      : No such file or directorypython.exe
      $ py2
      : No such file or directorypython.exe
      $ py3
      : No such file or directorypython.exe
      $ py4
      : No such file or directoryn27
  </code></pre>
  
  <p>so i wonder if the cygwin synthax for creating Alias is the same than the Linux one ?
  or maybe there is something wrong with windows 7 x64 ? i really don't know where the problem come from ?</p>