🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: LABEL/directory confusion - genuine bug in MSDOS 6.0 ?

#8015
From: Pamela Kane
Date: Mon, 28 Feb 1994 21:18
19 lines
2243 bytes
Duncan Murdoch (dmurdoch@mast.queensu.ca) wrote:
: In article <2kq5g0$rq@marlin.ssnet.com> panda@marlin.ssnet.com (Pamela Kane) writes:

: >OK...Forget the few hours with DEBUG.  A simple INT 21 intercept program 
: >points up the bug.  LABEL gets the current directory with INT 21 function 
: >47, which does not give drive and root, only path.  This string is fed 
: >through the undocumented function 60 to get the fully resolved 
: >drive:path.  (This will account for a SUBST or ASSIGNED or JOINED 
: >drive.)  

: Why does it care if you've used subst or assign or join?  It should use the 
: drive as it appears on the surface, not some hidden true name for it.
: Sounds to me like someone at MS was just a bit too clever.

What about a Network?  There is no real drive "on the surface."  They did 
the right thing, but failed to take into account all the possibilities.  
Perhaps they should have merely walked the CDS to find and store the 
current drive:path.  You have to be careful when using undocumented DOS 
calls such as INT 21 function 60, even if you wrote it.
Technical Details
Message-ID: <2ktn2t$i6h@marlin.ssnet.com>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!netnews.upenn.edu!dsinc!gateway.efi.com!barrnet.net!decwrl!hookup!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!wupost!udel!ssnet.com!ssnet.com!not-for-mail
References: <CLtt1E.Lvv@qdpii.ind.dpi.qld.gov.au> <jcmorris.762278419@mwunix> <2koj3f$67q@harbinger.cc.monash.edu.au> <2kq2ej$hu@marlin.ssnet.com> <2kq5g0$rq@marlin.ssnet.com> <dmurdoch.961.762460557@mast.queensu.ca>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10f6aa,adccdfccfe3eda50
X-Google-Attributes: gid10f6aa,public
X-Google-Thread: 10d683,adccdfccfe3eda50
X-Google-Attributes: gid10d683,public
X-Google-ArrivalTime: 1994-02-28 13:18:21 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!netnews.upenn.edu!dsinc!gateway.efi.com!barrnet.net!decwrl!hookup!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!wupost!udel!ssnet.com!ssnet.com!not-for-mail
From: panda@marlin.ssnet.com (Pamela Kane)
Newsgroups: comp.os.msdos.programmer,aus.computers.ibm-pc
Subject: Re: LABEL/directory confusion - genuine bug in MSDOS 6.0 ?
Followup-To: comp.os.msdos.programmer,aus.computers.ibm-pc
Date: 28 Feb 1994 16:18:21 -0500
Organization: SSNet -- Public Internet Access in Delaware!
Lines: 19
Message-ID: <2ktn2t$i6h@marlin.ssnet.com>
References: <CLtt1E.Lvv@qdpii.ind.dpi.qld.gov.au> <jcmorris.762278419@mwunix> <2koj3f$67q@harbinger.cc.monash.edu.au> <2kq2ej$hu@marlin.ssnet.com> <2kq5g0$rq@marlin.ssnet.com> <dmurdoch.961.762460557@mast.queensu.ca>
NNTP-Posting-Host: marlin.ssnet.com
X-Newsreader: TIN [version 1.2 PL2]