🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4145

Re: Subst dereferencing

#4145
From: Ralf Brown
Date: Sun, 06 Jan 1991 05:07
20 lines
1533 bytes
In article <HsBaV2w163w@phoenix.com> stanley@phoenix.com (John Stanley) writes:
}Is there a system call that will expand a SUBST drive name into the real
}path? I see none in any of the docs I have. Right now, the only way I
}can think of is to do a system() call, dumping the output of a SUBST
}command to a file, and reading that back in. Ick! I do it, and it works,
}but, oooohhhh.

There is no system call, but you can grunge around in the DOS data structures
to find out.  Take a look at INT 21/AH=52h in INTER191.ZIP, now available
from
	msdos.archive.umich.edu in /pub or /msdos/info
	grape.ecs.clarkson.edu in /incoming/msdos
	chyde.uwasa.fi in /pc/incoming
and soon (probably by the time you read this) from
	wsmr-simtel20.army.mil in PD1:<MSDOS.INFO>
--
{backbone}!cs.cmu.edu!ralf  ARPA: RALF@CS.CMU.EDU   FIDO: Ralf Brown 1:129/3.1
BITnet: RALF%CS.CMU.EDU@CMUCCVMA   AT&Tnet: (412)268-3053 (school)   FAX: ask
DISCLAIMER?  Did  | Everything is funny as long as it is happening to
I claim something?| someone else.  --Will Rogers
Technical Details
Message-ID: <1991Jan6.050756.5134@cs.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!o.gp.cs.cmu.edu!ralf
References: <HsBaV2w163w@phoenix.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!o.gp.cs.cmu.edu!ralf
From: ralf+@cs.cmu.edu (Ralf Brown)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Subst dereferencing
Message-ID: <1991Jan6.050756.5134@cs.cmu.edu>
Date: 6 Jan 91 05:07:56 GMT
References: <HsBaV2w163w@phoenix.com>
Sender: netnews@cs.cmu.edu (USENET News Group Software)
Organization: School of Computer Science, Carnegie Mellon
Lines: 20