On Sun, Mar 06, 2005 at 03:13:52AM +0100, Arend-Jan Westhoff wrote:
>When I executed the following command it failed:
>
>cat ..\..\diff\separateDirDiffs20050304\*.bat
>cat: ....diffseparateDirDiffs20050304*.bat: No such file or directory

The backslash character is a special character in UNIX shells.  You need
to either quote this or double it if you want the backslash to be passed
to the program.

However, even once you quote the character, you'll find that wildcards
do not work right in the presence of a '\'.  Remember that cygwin's
purpose is to provide a linux-like environment for windows.  '\' is not
a path separator on linux so few cygwin programs will deal properly with
wildcards like '..\..\diff\separateDirDiffs20050304'\\*.bat .

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to