X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: mwoehlke <mwoehlke@tibco.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@CORPUSMX40B.corp.emc.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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/

