Mail Archives: djgpp/2008/01/13/18:45:35
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
- Raw text -