Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Originating-IP: [12.213.113.158] From: "g frances" To: cygwin AT cygwin DOT com Subject: bash -c Date: Sun, 20 Oct 2002 15:37:56 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 20 Oct 2002 15:37:56.0407 (UTC) FILETIME=[A95DBC70:01C2784E] Hi, I'm new to cygwin and have a simple question. Tried to find the answer on the mailing list search archive, but no luck. I've just downloaded the lastest version of Cygwin on Windows 2000 Professional, SP2. When trying to invoke a command at the NT command prompt like the following: c:\cygwin\bin\bash -c "cp /testdir/test* /testdir2" This error occurs-- cp: testdirtest*: The system cannot find the file specified. But when invoking the same command by just typing within the cygwin shell, it works. Thanks for your help. gfrancess _________________________________________________________________ Surf the Web without missing calls! Get MSN Broadband. http://resourcecenter.msn.com/access/plans/freeactivation.asp -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/