Right click 'My Computer' -> Advanced -> Environment Variables ->
System Variables -> PATH
Add the directory of [CygWin]\bin, eg c:\cygwin\bin
It needs to be seperated with a ';'
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.ht
* zip184 (Mon, 30 Jul 2007 08:56:06 -0700 (PDT))
> I'm trying to run a shell script
Are you sure? Anyway, you already executed the script and got errors.
These errros are really unrelated to Cmd.exe or Cygwin. You should
first learn the basics (http://tldp.org/LDP/abs/html/)
Hint: if the interp
On 30 July 2007 16:59, zip184 wrote:
> commands like grep or ls don't work, only regular DOS commands do. Do you
> know how I can fix this?
Start menu->Settings->Control Panel->System->Advanced->Environment variables.
Find 'PATH' in the "System variables" section, click "Edit", append
";C:\cygw
On 30/07/07, zip184 <[EMAIL PROTECTED]> wrote:
>
> commands like grep or ls don't work, only regular DOS commands do. Do you
> know how I can fix this?
Check that you have your Cygwin bin directory is in the path.
Cygwin bin directory is (probably) most often located at C:\Cygwin\bin
, but you
commands like grep or ls don't work, only regular DOS commands do. Do you
know how I can fix this?
--
View this message in context:
http://www.nabble.com/windows-cmd-Newb-question-tf4170903.html#a11866450
Sent from the Cygwin Users mailing list archive at Nabble.com.
--
Unsubscribe
I'm trying to run a shell script
--
View this message in context:
http://www.nabble.com/windows-cmd-Newb-question-tf4170903.html#a11866432
Sent from the Cygwin Users mailing list archive at Nabble.com.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem re
On 30/07/07, zip184 <[EMAIL PROTECTED]> wrote:
> Cygwin commands are not working when I run them in windows cmd.exe. Should
> they?
Commands that are exe files are supposed to work. For example perl and
grep are both exe files in your bin directory, which is something like
C:\Cygwin\bin in Window
* zip184 (Mon, 30 Jul 2007 08:28:04 -0700 (PDT))
> Cygwin commands are not working when I run them in windows cmd.exe. Should
> they?
Yes.
> I ask this question because my scripts are saying "command not found" for
> each line in them.
What kind of scripts? Batch scripts? Shell scripts?
> I'm
message in context:
http://www.nabble.com/windows-cmd-Newb-question-tf4170903.html#a11865792
Sent from the Cygwin Users mailing list archive at Nabble.com.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation:
9 matches
Mail list logo