This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: Message Nav: [Date Index] [Subject Index] [Author Index] [Thread Index] [Date Prev] [Date Next] [Thread Prev] [Thread Next] [Raw text]

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

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

Index Nav: Message Nav: [Date Index] [Subject Index] [Author Index] [Thread Index] [Date Prev] [Date Next] [Thread Prev] [Thread Next]