9- How to delete many object files at the same time.

The use of this tutorial is at your own risks.  Read it once up to the end before trying anything.

The first version of DecoTech™ has been released in 1992, three years before the release of Windows™ 95 and its long file name support.  So this is why we have decided to create our own long file name support to bypass the old 8.3 file name format.  That has been a great innovation at that time but today all that looks obsolete.

A DecoTech data file is saved under an arbitrary hexadecimal file name composed of 8 characters.  The real file name is directly stored inside each file.  We have also incorporated the possibility to add a comment to each DecoTech data files.  (Up to now, even the most recent version of Windows does not have this feature yet.)

To speed up the display of folder contents, we have created catalog-index files ("dskcat.idx") in each data folder.  Each "dskcat.idx" file contains all the 32 bits hexadecimal file names present in the same folder and the corresponding real file names and comments.  Each "dskcat.idx" file is automatically created ONLY when you use a File Requester or Cabinet Requester to display the contents of a specific folder.  Also, all the "dskcat.idx" files are automatically deleted in all the folders when you install new add-ons or when you run the Library Installer Program ("....\DecoTech\bin\libinst.exe").

To view the contents of a "dskcat.idx" file, we have created a small program named IDX Lister Program ("....\DecoTech\bin\psidxlst.exe").  Each time you will run this program, you will need to specify a "dskcat.idx" file.  If you want to make its use easier, you can specify a "dskcat.idx" file as second argument when running the program.  To do so you have two possibilities :

Associated the ".IDX" extension with "....\DecoTech\bin\psidxlst.exe".  After that, simply double-click on each "dskcat.idx" you want to view.

OR

In the "C:\Documents and Settings\<Username>\SendTo\" folder created a shortcut with a command line set to "....\DecoTech\bin\psidxlst.exe" and name it IDX Lister.  After that, simply right-click on each "dskcat.idx" you want to view and select the Send To menu and the IDX Lister submenu.
(For Windows Vista and Win7 use "C:\Users\<Username>\AppData\Microsoft\Windows\SendTo\")

t.gif (141 bytes) tr.gif (162 bytes)
l.gif (142 bytes)
r.gif (145 bytes)
bl.gif (163 bytes) b.gif (145 bytes) br.gif (165 bytes)

You can do multiple selections by using the SHIFT and/or CTRL keys.  The Copy button copies the selected text lines into the clipboard to let you paste them into a word processing program by example.  The Erase button permanently deletes the selected data files.  When you use the Erase button, the current  "dskcat.idx" file is also delete because the IDX Lister Program is only a viewer and it is not able to update the "dskcat.idx" file.  By doing that, the File Requester or the Cabinet Requester will automatically recreate the "dskcat.idx" file and their display will be updated.

Back

 
©1992-, DecoTech Pro
Home Page