Xref: utzoo comp.sys.ibm.pc.hardware:5323 comp.os.msdos.programmer:3248 Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!jpl-devvax!huey!brad From: brad@huey.Jpl.Nasa.GOV (Brad Hines) Newsgroups: comp.sys.ibm.pc.hardware,comp.os.msdos.programmer Subject: Re: Dos mapped drives Keywords: SUBST & ASSIGN Message-ID: <11342@jpl-devvax.JPL.NASA.GOV> Date: 7 Feb 91 14:35:27 GMT References: <1991Feb6.141318.4647@cbnewsl.att.com> Sender: news@jpl-devvax.JPL.NASA.GOV Reply-To: brad@huey.Jpl.Nasa.GOV Organization: JPL Spatial Interferometry Group Lines: 16 In article <1991Feb6.141318.4647@cbnewsl.att.com>, feg@moss.ATT.COM (Forrest Gehrke,2C-119,7239,ATTBL) writes: Is there a way to distinguish Dos-mapped SUBSTituted and ASSIGNed drives from real, i.e. actual, drives? DOS 4.x (not in earlier versions, I don't think) has the undocumented "TRUENAME" command-line command and associated INT 21 function. I've never tried it myself, but it allegedly sees through subst's and assigns and returns the "true" pathname to a file. This was written up in the back of a recent PC Mag (last 2 or 3 issues) or Byte (last 2 issues). I think it was in PC Mag in the Tutor section. -- Brad Hines Internet: brad@huey.jpl.nasa.gov Jet Propulsion Lab, Pasadena, California