RE: CD doesn't work in script

2007-05-03 Thread Dave Korn
On 03 May 2007 18:38, John Morrison wrote: >> SCHLING wrote on Thursday, May 03, 2007 12:18 PM: >>> >>> I have successfully installed Cygwin on XP SP2, and would like to run >>> a script which includes a change directory command (cd \etc.) > > Could it be as simple as not escaping the 'e'? > >

RE: CD doesn't work in script

2007-05-03 Thread John Morrison
> SCHLING wrote on Thursday, May 03, 2007 12:18 PM: >> >> I have successfully installed Cygwin on XP SP2, and would like to run >> a script which includes a change directory command (cd \etc.) Could it be as simple as not escaping the 'e'? Try cd /etc rather than cd \etc J. -- Unsubscribe info

RE: CD doesn't work in script

2007-05-03 Thread Buchbinder, Barry \(NIH/NIAID\) [E]
SCHLING wrote on Thursday, May 03, 2007 12:18 PM: > > I have successfully installed Cygwin on XP SP2, and would like to run > a script which includes a change directory command (cd \etc.) > > All the other lines of the script work except the one with cd. The > same line works when input by hand.

Re: CD doesn't work in script

2007-05-03 Thread Igor Peshansky
On Thu, 3 May 2007, SCHLING wrote: > Hi all, > > I have successfully installed Cygwin on XP SP2, and would like to run a > script which includes a change directory command (cd \etc.) > > All the other lines of the script work except the one with cd. The same > line works when input by hand. > > Se

RE: CD doesn't work in script

2007-05-03 Thread Dave Korn
On 03 May 2007 17:18, SCHLING wrote: > Hi all, > > I have successfully installed Cygwin on XP SP2, and would like to run a > script which includes a change directory command (cd \etc.) > > All the other lines of the script work except the one with cd. The same line > works when input by hand. >

CD doesn't work in script

2007-05-03 Thread SCHLING
Hi all, I have successfully installed Cygwin on XP SP2, and would like to run a script which includes a change directory command (cd \etc.) All the other lines of the script work except the one with cd. The same line works when input by hand. Searching on the net I found that line endings could