This application is developed for checking
of files in the HPFS drives. There is possible to do so in order the names starts with
uppercase letters, to revise differences between the names of files and objects, as well
as to change some attributes for files.
I added this application in the list of File Manager commands and now and again launch
it. There is a sequence in my drives now. In order you precisely awared of how does it
works I release it with source code. You can freely change it, add a new abilities and
so on.
First that was done is a conversion of names
of files to mixed case like "Text.txt" because data is easier to manipulate when all
names begins with capital. This has no significance for OS/2 applications.
In order to avoid mistakes this application calls a Country.sys driver. If you want to
learn it more, type in the command line:
C:\ >> Help Country
And read the manual.
Files with various letters in names like "OS2Warp.html" are not processed.
Also files placed in the Desktop directory are ignored.
This ability must be disactivated if you use DBCS. If you want to add a DBCS
support to this application, please contact me.
Second - I tried to revise a turmoil with
names of files in the HPFS. It exists - it is not a secret, this is described even in the
OS/2 users manual, I do not remember where. The fact is that if to create a file on the
Desktop by means of WPS or Object Desktop then it except a real name obtains another
name which will be used for caption of object. All okay, but if then to copy this file
to another directory and rename it by means of File Manager, File Commander, or simply
"Rename" command that... the caption of object will not changed! Thus you can obtain a
file which will be termed differently in the WPS and File Manager.
Since HPFS developers do not care about it, I solved to learn where is stored a second
name in order to put away this garbage. This is a very simply - a second name is stored
in the ".Longname" extended attribute. And because attribute is a property of data that
it can mismatch with real name. Thus is obtained that this neither not mistake, but
helpful ability of HPFS.
To learn extended attributes more type in the command line:
C:\ >> Help EA
And read the manual.
A value of attribute can be explored by means of File Manager. Please check - can WPS
remarks their disappearance? I shall recommended you to launch this application for any
temporary directory and only then to launch it for all HPFS drive.
The Desktop directory is ignored because it can contains a folders with special characters
in titles, for example as "OS/2 System".
And by the way you can use the WPSBackup application which can retain the Desktop and
restore it afterwards.
A turmoil with the extended attributes goes
further. For example, each file can have an icon. Everything well, but it can be changed
also for "*.ico" files. Then such file will have a two different icons - real, which is
recorded in it, and supplementary, which is stored in extended attributes. All such
"properties" is simply irrelevant garbage.
But something attributes still may be helpful. For example, I use the PMView application
for browsing a pictures and PMView stores a small thumbnails for them in the file system.
This is very good feature and such attributes will be saved.
A next that was done is discarding of "Type" attribute for files which have names with
extensions. User can specify several types for one file, this is not right.
If a file has not extension for its name then a type is necessary.
And finally, ultimate, that knows everybody is
a merry heritage of now forgotten "Necrosoft" money makers gang. Namely it is the file
system for CD-drives. All files wherein are marked as "Read-only" unknownly for what.
After copying files to the hard disk this score score score as yet will remain retained.
By that time when this bug was remarked by users, Necrosoft already obtained a thousand
of dollars for this file system, and people already started to use it and also were
accustomed to all mistakes. Except me.
Since is impossible to revise all gibberish in the compact disks, I tried to check the
hard drive of my computer. Otherwise this already starts to seems odd - computing machinery
was constructed in order to served man, but not vice versa.
Besides you can mark all root directories as "Read-only". In this case user can not
remove them using the WPS. This is helpfully.
Write me a letters to: <abc@posokhov.msk.ru>,
Yours Sergey Posokhov.