X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Mon, 14 Jan 2008 00:26:03 +0100 From: Manuel Collado User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: set_enviroment References: <568e3790-04da-4851-8ba3-5196586ad67c AT h11g2000prf DOT googlegroups DOT com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 138.100.242.202 Message-ID: <478a9f15$1@news.upm.es> X-Trace: news.upm.es 1200267029 138.100.242.202 (14 Jan 2008 00:30:29 +0100) Lines: 37 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Cesar Rabak escribió: > peters DOT al AT volny DOT cz escreveu: > ... >> What I should do to run gnu fileutils, as mkdir, find, from >> path instead to windows mkdir or find ? >> Thanks for help > ... > NOW a caveat: > > mkdir is an internal command and to _really_ have the gnu fileutil you > have to call it by the name: > > C:\>mkdir.exe etc. etc... It is worse than that. In WinXP cmd.exe has the nasty feature of running the internal command just if the bare name of the command match the builtin name. Example (sorry, in spanish): H:\>mkdir.exe /? Crea un directorio. MKDIR [unidad:]ruta MD [unidad:]ruta ... etc. ... WRT command.com, in WinXP it is just a wrapper for cmd.exe, and not the true MSDOS 16-bit shell. So to invoke gnu mkdir you must either: - use the bash shell, or - rename the executable as gmkdir.exe or something like that. Regards. -- Manuel Collado - http://lml.ls.fi.upm.es/~mcollado