cygpath question

Robert Mark Bram relaxedrob@optushome.com.au
Fri Jan 24 13:13:00 GMT 2003


Howdy Randall,

> >    $ cdd C:\Rob\mcd3060\Tri32002\a2
> >    bash: cd: C:Robmcd3060Tri32002a2: No such file or directory
> In this case, the unquoted backslashes
> essentially just disappear, since in
> each case the character they precede
> is not special.

Thank you very much for your reply. I forgot the cardinal rule that
arguments entered on the command line must be quoted if they include
characters such as \ that are not meant as escape characters...

All of this brings me to the rather depressing conclusion that I cannot make
the same shortcut in cygwin that I often use in cmd.exe: copying a path from
Windows Explorer, alt-tabbing to the command prompt, typing "cd " with the
left hand then right clicking with the right hand and pressing enter to move
easily to a new directory. Usually, this technique is still easier than the
auto-complete functions available in bash and XP's cmd.exe...

Rob
:)



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list