Web lists-archives.com

[Mingw-msys] [mingw - MSYS] RE: GCC in mounted directories




* BGINFO for X
| 4) Windows path subfolder (ADAM) -> It doesn't works!
| 
| $ ls -la c:\windows\ADAM
| 
| ls: c:windowsADAM: No such file or directory
--<snip-snip>--
| My question is: Why test 4 doesn't work?

Because the backslash is the SHELL quoting character.  It is used to
escape the next character from any special meaning.  In your example,
'w' and 'A' have no special meaning, so the backslash is 'wasted'.

You need to double an unquoted backslash to get a single backslash
into the argument:
  ls -la c:\\windows\\ADAM
or quote it:
  ls -la 'c:\windows\ADAM'

HTH
R'

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys