RE: Simple cygwin script doesn't work with Windows schedular/Command prompt

2005-11-16 Thread Pandey, Sunil K
Thanks Brian and Peter. It works now. -sunil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Dessent Sent: Tuesday, November 15, 2005 7:50 PM To: cygwin@cygwin.com Subject: Re: Simple cygwin script doesn't work with Windows schedular/Command p

Re: Simple cygwin script doesn't work with Windows schedular/Command prompt

2005-11-15 Thread Brian Dessent
"Pandey, Sunil K" wrote: > However when I try to launch the same script with windows scheduler via > following command line it doesn't work. That is because if you type "/tmp/test.csh" at the prompt, bash will ask the system to execute the script and the #!/bin/csh line will be honored. It will

Re: Simple cygwin script doesn't work with Windows schedular/Command prompt

2005-11-15 Thread Peter Rehley
On Nov 15, 2005, at 5:58 PM, Pandey, Sunil K wrote: 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

Simple cygwin script doesn't work with Windows schedular/Command prompt

2005-11-15 Thread Pandey, Sunil K
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