Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!seismo!gatech!akgua!whuxlm!whuxl!houxm!ihnp4!ihlpl!psfales From: psfales@ihlpl.UUCP (Peter Fales) Newsgroups: net.micro.pc,net.lang.c,net.wanted.sources Subject: Re: How do I get a directory in MSC? Message-ID: <1045@ihlpl.UUCP> Date: Sun, 29-Jun-86 19:58:57 EDT Article-I.D.: ihlpl.1045 Posted: Sun Jun 29 19:58:57 1986 Date-Received: Wed, 2-Jul-86 06:29:51 EDT References: <221@killer.UUCP> Organization: AT&T Bell Laboratories Lines: 10 Xref: watmath net.micro.pc:8946 net.lang.c:9688 net.wanted.sources:2485 > Can anybody out there in net.land tell me how to get a directory on DOS 3.1 > using MS C 3.0? I would like to write my own ls for DOS, but not knowing > how to get a directory makes it rather difficult to write such a thing. :-) > Are you sure your C library does not have functions for this? If not, are there functions for doing DOS system calls? Check out system calls 0x4E and 0x4F. Peter Fales ihnp4!ihlpl!psfales