Path: utzoo!mnetor!uunet!husc6!hao!noao!arizona!naucse!wew From: wew@naucse.UUCP (Bill Wilson) Newsgroups: comp.sys.ibm.pc Subject: Re: Setting DOS errorlevel in C (How?) Message-ID: <610@naucse.UUCP> Date: 16 Mar 88 15:43:59 GMT References: <4831@sigi.Colorado.EDU> Distribution: na Organization: Northern Arizona University, Flagstaff, AZ Lines: 10 Summary: Setting Error Level from C That will depend upon your C compiler. Normally all you have to do is return an integer number in the exit function. i.e. exit(1); will return a 1 for the error level upon completion of the program. Bill Wilson.