home *** CD-ROM | disk | FTP | other *** search
- TESTDIR.EXE written by Terry Duke
- Data 806-763-3375
- Voice 806-765-7009
-
- This one is for the Sysops of the RBBS bulletin boards.
-
-
-
- Basically what TESTDIR does is check the directories against the files
- actually on the disk. The output of the program will give:
-
- 1. All the files that are on disk and not in directories.
- 2. All the files that are in directories and not on disk.
- 3. All the files that are duplicated in more than one directory.
-
-
- To use this program a few preliminary steps must be taken.
-
- First there are some restrictions on the format of the directorys.
- The files names must be the first words on the lines with no leading
- spaces.
- The file names may be in the formats of:
-
- FILENAME EXT
- NAME EXT
- NAME.EXT
-
- IF THE EXTENTION DOES NOT START ON COLUMN 10 THEN A PERIOD MUST
- BE IN THE FILESPEC WITH NO SPACES
-
-
- Any lines that do not contain a file name also have some restrictions.
- Lines that start with a space astrick or any extended ascii
- character will be ignored.
- Any blank line is ignored and the first line of the directory is
- ignored.
- The directory files must end with the normal Crtl Z character
- some word processors, notibly Word Star do not terminate the
- file with Crtl Z.
-
- Previous versions of this program call dirtest or testdir would
- not work if there were commas in the directories. This version
- does not have that limitation.
-
-
- Testdir will ask you for the drives to search.
- Include all drives with bbs files on them.
- Enter the drive letters with no delimiters i.e. CDE
-
- Then you will be asked for the output device.
- Output can be sent to the screen printer of a file.
- If the file is chosen it will be called BBS.ERR and will be
- put on the default drive. I included the file option so
- the program could be run remotely and the output file downloaded.
- If the printer is chosen LPT1 is assumed.
-
- You will then be asked for the drive containing the download
- directories.
-
- The directories must have the name DIRxx where xx is the directory number.
- xx must be a number from 1 to 98. If letters are used for xx errors
- will result.
-
- You will then be asked for the drive containing the upload directory.
- If you do not want the upload directory to be included hit
- enter without any drive letter.
-
- The upload directory is assumed to be DIR99.
-
- You will then be asked for the drive containing BBSYSTEM.
- If you do not have a BBSYSTEM file hit enter without any drive
- letter.
-
- BBSYSTEM can be used to keep any files that you know to be on
- disk and not in any directory. If you put these file in
- bbsystem they will not come out in the output listing.
- Bbsystem format is similar to a directory. There must be some
- character on the line after the filename. I use a period in
- the following format. Remember the first line of the file is ignored.
-
- FILENAME.EXT.
- FILENAME .
- DIR .
-
-
- If you got this program from Testdir3.lbr then there are two versions
- of testdir in the library. Testdir.exe has a file limitation of 1500
- total files but run reletively fast considering all it has to do.
- Testdir2.exe has a limit of 5000 files but is much slower, especially
- the sort. Testdir2 creates a temporary file on the default drive and
- then deletes it when it is done. The temporary file is called BBS.TMP.
- BBS.TMP will show up on the output listing if it is not in the BBSYSTEM
- file.
- The two versions are provided for the greatest utility for everyone.
- Those with under 1500 files can take advantage of the speed of TESTDIR
- and those with over 1500 files can use TESTDIR2. The two versions
- are necessary beacause of the small amount of string space provided
- by compiled basic.
-
-
-
- Good luck,
- Terry
-
-
-
-