delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/23/06:16:11

From: mmorche AT sat1 DOT de (Matthias Morche)
Subject: Re: "command not found"
23 Jan 1999 06:16:11 -0800 :
Message-ID: <36A99DA4.F6FA751F.cygnus.gnu-win32@sat1.de>
References: <0B12E65D1FEBCF11B65C00A02461DF13041FE10B AT edsitp_exch1 DOT itp DOT eds DOT com>
Reply-To: gnu-win32 AT cygnus DOT com
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

"Buck, Peter INS" wrote:
> 
> All right, I confess, I fooled with the CygWin B20 shortcut.  Things were
> working fine before I did that.  Now, however, when I start Cygwin and type
> in things such as chdir or mkdir, I get (for example)
> 
> bash: mkdir: command not found.
....
> I took out the "echo off" in the bat file and verified that the path is
> getting set.

But to a wrong value, I bet mkdir.exe can't be seen within Your PATH...

> If I type in "help" I get a page of help, all the local commands.  They
> work.

Sure they do, they're built into bash and do NOT NEED a correct PATH.

Probably the PATH to the mkdir.exe is mangled (mount point did not
survive reinstallation, symlink gone, reinstalled to another location,
without changing $PATH to the new location...).

-- 
	Matthias Morche (mailto:morche AT sat1 DOT de)
		SAT.1 (http://www.sat1.de)

>>> Linux: the greatest adventure game since the invention of the PC <<<

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019