delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/12/16:07:22

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: mwoehlke <mwoehlke AT tibco DOT com>
Subject: Re: Could not touch file when specify full path in Cygwin in .bat file
Date: Mon, 12 Jun 2006 15:06:38 -0500
Lines: 22
Message-ID: <e6khge$ok8$1@sea.gmane.org>
References: <38EA73F8F9C1844FA2ECE82DEE237F3C224E34 AT CORPUSMX40B DOT corp DOT emc DOT com>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.4 (X11/20060516)
In-Reply-To: <38EA73F8F9C1844FA2ECE82DEE237F3C224E34@CORPUSMX40B.corp.emc.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

wu_xiaomin AT emc DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019