This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bash and the missing clear command


Valery Fine wrote: 
>   May be
> 
>   $ComSpec /c cls
> 
>    will be  better

The above will not work under bash because the definition of COMSPEC
(at least on my machine) is a Windows style pathname (eg.,
C:\WINNT\system32\cmd.exe).  Hence, bash will complain as follows:

    $ $COMSPEC /c cls
    bash.exe: C:\WINNT\system32\cmd.exe: command not found

Jason

-- 
Jason Tishler                        Phone: +1 (212) 989-4455 ext. 120
Box Hill Systems Corporation         Fax:   +1 (212) 989-6817
161 Avenue of the Americas           Email: jt@boxhill.com
New York, NY 10013 USA               WWW:   http://www.boxhill.com
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]