🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#8019
From: Ian Staples
Date: Fri, 04 Mar 1994 07:48
26 lines
2021 bytes
Ralf Brown <ralf@telerama.lm.com> writes:
>... I think the
>bug in LABEL is that it doesn't prepend a backslash to the current
>directory retrieved with INT 21/47.  That function does not include the
>initial backslash indicating the root directory (i.e. if you are in the
>root directory, it returns an empty string, if in C:\FOO it returns FOO,
>etc.).	Naturally, if you then do a TRUENAME on the unmodified returned
>string, it will be taken as a relative filename and will go deeper in
>the directory tree if there is a matching path from the current
>subdirectory.

Presumably that would also explain the behaviour mentioned by someone else
that it will go "double deep", or even further?

That is, with the structure c:\x\x\x\x\x\x\x\x, if you give the LABEL
command from c:\x you end up in c:\x\x; if from c:\x\x you go to c:\x\x\x\x
and so on (up to 3 or 4 levels as I recall he said).  [Just tried it - it
will do the same up to 5 levels at least, if your directory structure is
deep enough.]

Cheers, Ian S.
-- 

Ian Staples                        E-mail : ianst@dpi.qld.gov.au
c/- P.O. Box 1054 MAREEBA          Phone  : +61 (0)70 921 555 Home 924 847
Queensland Australia 4880            Fax  : +61 (0)70 923 593   "   "   "
Technical Details
Message-ID: <CM4r0t.BD2@qdpii.ind.dpi.qld.gov.au>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!msuinfo!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!dpi-gw!qdpii!ianst
References: <2d71eba1@ralf>

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-03-03 23:48:28 PST
Newsgroups: comp.os.msdos.programmer,aus.computers.ibm-pc
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!msuinfo!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!dpi-gw!qdpii!ianst
From: ianst@qdpii.ind.dpi.qld.gov.au (Ian Staples)
Subject: Re: LABEL/directory confusion - genuine bug in MSDOS 6.0 ?
Message-ID: <CM4r0t.BD2@qdpii.ind.dpi.qld.gov.au>
Organization: Queensland Dept of Primary Industries
References: <2d71eba1@ralf>
Date: Fri, 4 Mar 1994 07:48:28 GMT
Lines: 26