From: Nguyen-Dai Quy Newsgroups: comp.os.msdos.misc,comp.os.msdos.apps,comp.os.msdos.djgpp Subject: ERRORLEVEL with FIND command in batchfile ?????? Date: Mon, 15 Jun 1998 14:56:28 +0200 Organization: LTAS-Mécanique de la Rupture, ULg Lines: 12 Message-ID: <358519FC.BAE85CEC@ulg.ac.be> NNTP-Posting-Host: cubitus.ltas.ulg.ac.be Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk How to use "errorlevel" with the command "find" in the batch file ? For exemple, find /c "%%%E" toto.txt if errorlevel .... Thanks for any idea. -- Nguyên-Ðai Quý LTAS-Mécanique de la Rupture, ULg. Rue Ernest Solvay 21, Bât.C3, Institut de Mécanique B 4000, Liège, Belgique. Tél.+32-4-366.92.41 Fax:+32-4-366.93.11