Could not touch file when specify full path in Cygwin in .bat file

mwoehlke mwoehlke@tibco.com
Mon Jun 12 20:26:00 GMT 2006


wu_xiaomin@emc.com wrote:
> Hi, Cygwin support group,
> 
> I have problem to touch a file when specify the full path. Here are some examples. MKS works fine
> 
> -- Filename with special characters
> D:\>touch D:\usr\meta\boxster\UNITw2kMixednew\boxster_UNITw2kMixednew_0205\Tree\!@#$%&()_+.!@#$%&()_+
[snip]

And, given that I don't see a POSIX-style path anywhere, where exactly 
are you using Cygwin?

This works for me in Cygwin's bash:
/tmp$ touch '!@#$%&()_+.!@#$%&()_+'
/tmp$ ls
!@#$%&()_+.!@#$%&()_+  nu.2360  t83c.0

...Maybe you need to escape some characters or use single-quotes (')?

-- 
Matthew
"Sorry. Wrong species." --ST-TNG


--
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/



More information about the Cygwin mailing list