X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Cesar Rabak Newsgroups: comp.os.msdos.djgpp Subject: Re: set_enviroment Date: Sun, 13 Jan 2008 19:44:25 -0300 Organization: Aioe.org NNTP Server Lines: 56 Message-ID: References: <568e3790-04da-4851-8ba3-5196586ad67c AT h11g2000prf DOT googlegroups DOT com> NNTP-Posting-Host: zsHJ5gqqakMwFDjpmF3OEw.user.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse AT aioe DOT org In-Reply-To: User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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 . 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...