Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucbvax!bloom-beacon!deccrl!news.crl.dec.com!shlump.nac.dec.com!labc.enet.dec.com!wallis From: wallis@labc.enet.dec.com (Barry L. Wallis) Newsgroups: comp.os.msdos.programmer Subject: Re: misc Message-ID: <18744@shlump.nac.dec.com> Date: 7 Jan 91 16:20:07 GMT Sender: newsdaemon@shlump.nac.dec.com Organization: Digital Equipment Corporation Lines: 34 In article <2117@beguine.UUCP>, Rob.Wedlock@samba.acs.unc.edu (Rob Wedlock) writes... !>For those of you looking for !>DOS undocumented: The editor is Schulman, the publisher Addison-Westly !>I falied to mention that when I mentioned the book before. !> !>For anyone that can use it: A dos interrupt from this book... !> !>ah=60h !>ds:si:pointer to asciiz file name or path input !>es:di pointer to 128 byte buffer top hold output, an asciiz string !>int 21h !> !>you feed it a file name which can include '.','*',network drive letter !>susbt drives, joined drives, or even files that dont exist yet !>it spits out a carry if there was an error, or else a fully !>expanded file name path all capitalized, * -> ??? , capitalized !>subst drives expanded, networkdrives become \\.... !>However it can expand it to refer to a physical drive pathname , it will. !> !>Hope this helps someone! Thanks for all the help yall have given me !>!!! !> Thanks! This is just the function I was looking for this weekend (trying to implement reliable Directory and File objects under C++). What versions of DOS does it work under? --- Barry L. Wallis USENET: wallis@labc.dec.com Database Consultant Prodigy (don't laugh): DNMX41A U.S. DECtp Resource Center DECUServe: EISNER::WALLIS (not on the net yet) Los Angeles, CA "No one voted for me, I represent myself" ---