Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: Simple cygwin script doesn't work with Windows schedular/Command prompt Date: Tue, 15 Nov 2005 17:58:11 -0800 Message-ID: <92E67798C43ECE4691CCEE09662D26980A0ACFE2@scsmsx402.amr.corp.intel.com> From: "Pandey, Sunil K" To: X-IsSubscribed: yes 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id jAG1vSCB018153 I have a very simple shell script say test.csh $cat test.csh #!/bin/csh set x = "Some name" echo $x > /tmp/xyz When I ran this script in cygwin shell it works fine. $cat /tmp/xyz Some Name However when I try to launch the same script with windows scheduler via following command line it doesn't work. Scheduler command line C:\cygwin\bin\bash.exe -l -e /tmp/test.csh I also tried above command on Windows command prompt still doesn't work. It creates a blank xyz file. Most probably set command is not working. Not sure how to fix this script. Any help/hack will be much-much appreciated. Thanks. Sunil -- 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/