Mail Archives: djgpp/2008/01/13/16:46:45
peters DOT al AT volny DOT cz escreveu:
> Hi,
> I have djgpp installed in XP, here is my enviroment
[snipped]
>
> PATH=D:\DJGPP\BIN;%PATH%
>
[snipped]
> What I should do to run gnu fileutils, as mkdir, find, from
> path instead to windows mkdir or find ?
> Thanks for help
The line above should suffice, however, I recommend you double check
this in a DOS prompt issuing the command PATH.
Sometimes other env changes are applied to the machine.
If D:\DJGPP\BIN appears as the first, the check the existence in the
right place of one of the fileutils, they normally respond well to the
--help switch, whereas the Windows ones don't, example:
C:\>find --help
Usage: d:/djgpp/bin/find.exe [path...] [expression]
default path is the current directory; default expression is -print
expression may consist of:
operators (decreasing precedence; -and is implicit where no others are
given):
( EXPR ) ! EXPR -not EXPR EXPR1 -a EXPR2 EXPR1 -and EXPR2
EXPR1 -o EXPR2 EXPR1 -or EXPR2 EXPR1 , EXPR2
options (always true): -daystart -depth -follow --help
-maxdepth LEVELS -mindepth LEVELS -mount -noleaf --version -xdev
tests (N can be +N or -N or N): -amin N -anewer FILE -atime N -cmin N
-cnewer FILE -ctime N -empty -false -fstype TYPE -gid N -group NAME
-ilname PATTERN -iname PATTERN -inum N -ipath PATTERN -iregex PATTERN
-links N -lname PATTERN -mmin N -mtime N -name PATTERN -newer FILE
-nouser -nogroup -path PATTERN -perm [+-]MODE -regex PATTERN
-size N[bckw] -true -type [bcdpfls] -uid N -used N -user NAME
-xtype [bcdpfls]
actions: -exec COMMAND ; -fprint FILE -fprint0 FILE -fprintf FILE FORMAT
-ok COMMAND ; -print -print0 -printf FORMAT -prune -ls
Report bugs to <bug-findutils AT gnu DOT org>.
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...
- Raw text -