On Thu, Mar 08, 2001 at 09:51:27AM -0000, CORETO - Rui Anast?cio wrote:
> 
>  Hi !
> 
>  I have installed the lattest version of cygwin. But my $vars dont
> substitute :(
> 
> -TEST----------------------------------------------
> $ cat t.bat
> echo $PATH
> ls $1 -l
> 
> 
> $ ./t.bat /home
> 
> C:\cygwin\home\coreto03>echo $PATH
>                                   ls $1 -l
> 
> $PATH
>      ls $1 -l
> 
> 
> 
> coreto03@CORETO03 ~
> -----------------------------------------------------
> 
>  Help !!!

Don't name the file `t.BAT' since it's using CMD/COMMAND for
execution. Name it `t.sh' or just `t'.  And prepend the following
line to the script:

        #!/bin/sh

or

        #!/bin/bash

whatever you want to call.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

Reply via email to