Article View: comp.os.msdos.programmer
Article #8004Re: LABEL/directory confusion - genuine bug in MSDOS 6.0 ?
From: Mike Kahler
Date: Sat, 26 Feb 1994 17:35
Date: Sat, 26 Feb 1994 17:35
40 lines
2493 bytes
2493 bytes
In article <CLtt1E.Lvv@qdpii.ind.dpi.qld.gov.au>, Ian Staples <ianst@qdpii.ind.dpi.qld.gov.au> wrote: >I would be interested to hear if others can duplicate this problem. >Also, it would be most interesting to learn what is causing it, if >any MSDOS gurus out there (Microsoft or independent) care to offer >a diagnosis. > >I found this by accident, the following sequence of commands was >deliberately used to confirm the bug (note: assumes PROMPT is $p$g): > >cd \ ;get yourself into the drive root >md xyz ;make a directory, any name will do >cd xyz ;get into it >md xyz ;make a subdirectory with the same name > ;but *don't* change into it >label a: abcdefgh ;any legal name will do - you *do* have > ;a disk in drive a: don't you? ;-) > >Now have a close look at your prompt - if you have the bug too, it >will read C:\XYZ\XYZ> instead of the expected C:\XYZ> [assuming you Well, it's not really as bad as you'd think- I tried it on 6.2 and got the following results: Assume you have a set of directories all in series, all the same name, such as \x\x\x\x\x\x\x\x (like your \xyz\xyz). Now if your'e in \x and use label, you get \x\x. If in \x\x and use label, you get \x\x\x\x. If in \x\x\x and use label, you get \x\x\x\x\x\x But now for the good news, anything \x\x\x\x or above has no effect. So from now on just name all your directories 4 levels deep :). (kinda strange as the directory level label puts you in is twice as deep as you were before calling label ). Mike kahlerm@seattleu.edu -- this .signature intentionally left blank
Technical Details
Message-ID:
<2ko19h$qn5@bach.seattleu.edu>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!darwin.sura.net!howland.reston.ans.net!europa.eng.gtefsd.com!news.uoregon.edu!netnews.nwnet.net!bach.seattleu.edu!bach.seattleu.edu!not-for-mailReferences:
<CLtt1E.Lvv@qdpii.ind.dpi.qld.gov.au>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-26 09:35:45 PST Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!darwin.sura.net!howland.reston.ans.net!europa.eng.gtefsd.com!news.uoregon.edu!netnews.nwnet.net!bach.seattleu.edu!bach.seattleu.edu!not-for-mail From: kahlerm@bach.seattleu.edu (Mike Kahler) Newsgroups: comp.os.msdos.programmer,aus.computers.ibm-pc Subject: Re: LABEL/directory confusion - genuine bug in MSDOS 6.0 ? Date: 26 Feb 1994 09:35:45 -0800 Organization: Seattle University, Seattle, Washington, U.S.A. Lines: 41 Message-ID: <2ko19h$qn5@bach.seattleu.edu> References: <CLtt1E.Lvv@qdpii.ind.dpi.qld.gov.au> NNTP-Posting-Host: bach.seattleu.edu Keywords: subdirectory,label,bug