Download this file as a text file
Download this file as a "Word for Windows 6.0" file


An Application To Create a Database of Diskette Files

"Copyright (c) IBM Corp. 2001 All rights reserved"

Introduction
Getting Started
Tutorial
Warning - about using this with operating systems other than Windows95 or Windows98
If You Have Problems


Introduction

The DiskList application creates a list of your diskette files. The file created by this application is suitable for viewing in a database.

This is great for people who store files on diskettes and then can't find which diskette has the needed file. The application asks for a "disk id" or name to identify the diskette. Then it extracts the file information from the diskette and creates a text file that can be used with a database or spreadsheet. It allows the user to process multiple diskettes. Within your database application you can then sort on the various columns to find your file. If you don't have a database application, you can use the "find" function in an editor to find files.

The following is an example of the output file from this application:

"DISK NAME","FILE NAME","EXT","DATE","TIME","SIZE","DIRECTORY"
"EMAIL","ToMDR.eml","eml","03/10/01","07:11p","5602","\email\march"
"EMAIL","FrPink.eml","eml","03/22/01","09:50p","1041","\email\march"

Dragging the output file to your database or spreadsheet application, depending on your specific application, will create a nice table which will allow you to sort on any of the columns.

You may download, but you may not redistribute or profit from this application. These programs have been tested on Windows95. If you find errors or have suggestions for improvement or questions, please write to me at regandr@prodigy.net. I am writing these applications in my spare time as "not for profit". "Copyright (c) IBM Corp. 2001 All rights reserved"

These instructions assume that you know how to

Return to beginning


Getting Started

  1. You might want to create a DiskList folder/directory before downloading.
  2. Download DiskList.exe, DiskList.doc
  3. To start the application, find DiskList.exe or its icon and double-click on it or right click and select "Open".
  4. You will see the following displayed in a DOS window:

Name of directory to put your file:
Default: current directory

To exit the application, click on the X in the upper right corner of the DOS window or hit ENTER two or three times.
To continue, skip the first instruction in the tutorial below.

See Warning below before attempting to use this with operating systems other than Windows95 or Windows98.

Return to beginning


Tutorial

To start the application, find DiskList.exe or its icon and double-click on it or right click and select "Open". You will see the following displayed in a DOS window:

Name of directory to put your file:
Default: current directory

If you hit ENTER without entering a dir name, your file will eventually be saved in the directory from which you are running this application. If you want it in another directory, enter a complete path name (i.e. e:\otherdir) before hitting ENTER. Warning: It must be a directory name with 8 characters or less.

If there is already a file named xfiles.txt in your selected directory, then you will see the following:

WARNING: This will append to the existing file xfiles.txt. Continue? (Y/N)

Otherwise you will see:

To end program, hit ENTER without entering a disk id. Insert diskette in A: Type a disk id (no spaces) and hit ENTER

Hitting ENTER without entering a disk id will end the program. Otherwise type a name that relates to (perhaps the volume name) the diskette currently in your A: drive and hit ENTER. This name will be in the first column of the list for all of the files on this diskette. Repeat for all of your diskettes: put a diskette in your A: drive, type a disk id, hit ENTER. The first time you hit ENTER without typing a disk id, the application will end and remind you where your file is:

Your results are in xfiles.txt

Hit ENTER to close window.

To view the output file, called xfiles.txt, you may use your editor. The output file will be in the same directory as DiskList.exe unless you entered another directory name when you ran the application. The "find" function will allow you to find the line with the file name you want. The diskette name is before the first comma, i.e.

"DISK NAME","FILE NAME","EXT","DATE","TIME","SIZE","DIRECTORY"
"EMAIL","ToMDR.eml","eml","03/10/01","07:11p","5602","\email\march"
"EMAIL","FrPink.eml","eml","03/22/01","09:50p","1041","\email\march"

Another way to view the output file is by dragging it to your database or spreadsheet application. This will allow you to sort on any column. For some databases/spreadsheets, you may need to open the application, then click on File/Open and tell it where to find the file, xfiles.txt, and tell it what the delimitor is (where to break for columns), comma.

Return to beginning


Warning

The comments in this section are for more experienced computer users. If you don't understand them, you should use DiskList only with Windows95 or Windows98.

Windows95 and Windows98 are the only operating systems for which this will run correctly without special parameters. (When you issue "dir a: \s" from a DOS prompt, the date is at column 29, the filename at column 45)

FAMTREE  EXE        73,728  03-08-01  8:12a FamTree.exe
DISKLIST CPP         6,088  03-12-01  9:57a DiskList.cpp
UNIXLIST CPP         5,502  03-12-01  9:56a UnixList.cpp

If you want to run it with WindowsNT, then run it from a DOS window with the parameter winnt (DiskList winnt). (When you issue "dir a: \s" from a DOS prompt, the date is at column 1, the filename at column 40 as below)

03/08/01  08:12a                73,728 FamTree.exe
03/12/01  09:57a                 6,088 DiskList.cpp
03/12/01  09:56a                 5,502 UnixList.cpp

If you want to add unix files for which you have a text file, then run it from a DOS window with the parameter unix (DiskList unix). This parameter will cause the program to ask for the name of a file which contains a list of files. (When downloaded using an ftp program, the date is at column 43, the filename at column 56 as below)

total 3316
-rw-rw-r--   1 203      201          1037 Feb 19 21:04 50_50.html
-rw-rw-r--   1 203      201          3493 Feb 19 21:06 809area.html
-rw-rw-r--   1 203      201         77904 Dec  3 18:09 RDList.htm

Return to beginning


If You Have Problems

If the window doesn't close when you it ENTER, close it by clicking on the X in the right upper hand corner. A permanent way to fix this problem is to create a shortcut for the application. This will be a DOS shortcut. Right click on your shortcut and click on "Properties". Click on the "Program" tab, check the "Close on exit" box, and click on "OK". Start the application from then on by double clicking on this shortcut.

If you have suggestions for improvement or questions, please write to me at regandr@prodigy.net. I am writing these applications in my spare time as "not for profit". "Copyright (c) IBM Corp. 2001 All rights reserved"

Return to beginning

Download this file as a text file
Download this file as a "Word for Windows 6.0" file