home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!cs.utk.edu!ornl!rm3
- From: rm3@ornl.gov (MCBROOM R C)
- Subject: Re: Interesting WPS Bug
- Message-ID: <1993Jan7.141616.13512@ornl.gov>
- Organization: Oak Ridge National Laboratory
- References: <Nrc=f7_@engin.umich.edu>
- Date: Thu, 7 Jan 1993 14:16:16 GMT
- Lines: 25
-
- In article <Nrc=f7_@engin.umich.edu> jwh@citi.umich.edu writes:
- >I've run across an interesting bug in the WPS concerning
- >files. Sometimes, for no reason that I can explain, when
- >I make a copy of a file from the command line, when I view
- >the directory from the WPS, both the copy of the file and
- >the original have the same title. For example, I might have
- >a file named v.exe and when a copy is made and called v1.exe,
- >the WPS displays both objects as 'v.exe'. It seems to only
- >do this for files which have EA's attached (I'm using HPFS),
- >but not all files with EA's behave this way. Has anyone else
- >run across this and is there a rational explanation for why
- >this occurs? Clearly you shouldn't be able to have two different
- >objects with the same title in the same folder.
- >
- Keep poking around in OS/2. If you do a detail view of the directory you
- will see that the data and program objects have both a title reference and
- a name reference. The title is what is displayed with the icon. If you copy
- a data or program object onto itself it will have the same title but a new
- name constructed out of the original. Someone in this newsgroup was asking
- about having multiple versions of files as Digital does with its VMS system.
- OS/2 uses the name and title mechanism to do just that. You can use the
- settings to configure the copy from WPS to prompt you and ask if you want
- to replace the file or store a new version so that you can make the decision
- each time.
-
-