X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: mwoehlke 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: References: <38EA73F8F9C1844FA2ECE82DEE237F3C224E34 AT CORPUSMX40B DOT corp DOT emc DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/