INDEX is a utility to allow you to display information about a file, based on information stored in the files header. INDEX operates in one of two modes, it either displays information read directly out of the index file, or it asks the disk ACP to return header information to it. The first mode of operation is used for general searches, and does not necessarily return the most current up to date information, as there may be many headers cached in memory, and thus out of synch with the index file. The second mode of operation is used when you specify a /FILE_ID or /FULLNAME qualifier, giving it an explicit list of files to work with. In this case it asks the disk ACP for the headers, thus getting the most current, up to date information available, if possible. Note that in either case, the index file is opened for read acces, thus to use this utility, you must have read access to the file [000000]INDEXF.SYS, and if using /FILE_ID or /FULLNAME you must also have read access to the requested files. INDEX takes one paramater, the name of the device whose index file is to be searched. If device-name is not specified it defaults to SYS$DISK (your current default disk). It correctly handles rooted device names, and can handle multi-volume disk sets. You may limit what files will be displayed by using the appropriate qualifiers. Most of the qualifiers that affect what files will be displayed allow a minimum and maximum value, if you do not specify a maximum value, then it is assumed you want all things greater than the minimum. If you want a specific value, than you must enter it as both the minimum and maximum value, i.e. $ INDEX/ALLOCATED=(1497,1497) would display all files with exactly 1497 blocks allocated. To use: Either edit INDEX.CLD so that the IMAGE clause points to where you are storing the image, or define a logical name EXE$DIR to point to where you are storing the image. Then do SET COMMAND INDEX. You will then be able to use the INDEX command. Files in this directory: C.OPT - used for linking ACEDEF.H ATRDEF.H CLD.H DISPLAYDEF.H FATDEF.H FCHDEF.H FH2DEF.H - Header files for INDEX utility FI2DEF.H FIBDEF.H FILEINFO.H FM2DEF.H HM2DEF.H IODEF.H SEARCHDEF.H C.OPT - used for linking CLI.C DISPLAY.C FID.C FREPTECNT.C GETDVI.C GET_HEADER.C - Source files for INDEX utility INDEX.C PARSE_UIC.MAR SEARCH.C SECTION.C CLI.OBJ DISPLAY.OBJ FID.OBJ FREPTECNT.OBJ GETDVI.OBJ - Object files for Index utility (compiled /DEBUG) GET_HEADER.OBJ INDEX.OBJ SEARCH.OBJ SECTION.OBJ INDEX.CLD - Command definition file for INDEX INDEX.EXE - INDEX executable INDEX.HLP - Help file for INDEX MAKEFILE. - Makefile for INDEX