🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

LABEL/directory confusion - genuine bug in MSDOS 6.0 ?

#8002
From: Ian Staples
Date: Sat, 26 Feb 1994 09:58
44 lines
2843 bytes
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
are working on drive C: like me - I don't know if the same thing
happens for other drives, or for network drives (guess I should try 8-) ]

I haven't tried other commands to see how general the problem is,
but it was a bit of a suprise to me when it first happened!  It could
cause some confusion if you were just working "automatically" without
taking too much notice of your prompts.  Say you just copied *.* to a:
from C:\XYZ, then said LABEL a: mygoodstuff then, confident that you
had a copy of eveything, you said DEL *.* without noticing you were
now located in C:\XYZ\XYZ  :-(

Cheers,  Ian S.

P.S.  Okay, I just went back to MSDOS at "home" and tried the same thing
working from the a: and b: drives.  Result - no problem if you LABEL the
*same* drive you are working on, but if you LABEL the other one you get
the bug exposed like you do when working from c:  I didn't try working 
from c: and LABELling c: because my antivirus monitor doesn't like that 
sort of thing :-)


-- 

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: <CLtt1E.Lvv@qdpii.ind.dpi.qld.gov.au>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!rutgers!netnews.upenn.edu!msuinfo!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!dpi-gw!qdpii!ianst

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10f6aa,adccdfccfe3eda50,start
X-Google-Attributes: gid10f6aa,public
X-Google-Thread: 10d683,adccdfccfe3eda50,start
X-Google-Attributes: gid10d683,public
X-Google-ArrivalTime: 1994-02-26 01:58:26 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!rutgers!netnews.upenn.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)
Newsgroups: comp.os.msdos.programmer,aus.computers.ibm-pc
Subject: LABEL/directory confusion - genuine bug in MSDOS 6.0 ?
Summary: LABEL command appears to confuse directory structure
Keywords: subdirectory,label,bug
Message-ID: <CLtt1E.Lvv@qdpii.ind.dpi.qld.gov.au>
Date: 26 Feb 94 09:58:26 GMT
Organization: Queensland Dept of Primary Industries
Lines: 44