home *** CD-ROM | disk | FTP | other *** search
-
- FList version 1.0 6-17-88
-
- Syntax:
- FList [drive] [> list redirection]
- Examples:
- flist
- flist d:
- flist c: > a:\files.c
- flist > a:\files.c
- flist ?
-
- Sample Output:
-
- \IBMBIO.COM
- \IBMDOS.COM
- \VOLUMEC
- \BAT
- \BAT\EMAIL.BAT
- \BAT\FORMAT.BAT
- ... etc. ...
- \CONFIG.SYS
- \AUTOEXEC.BAT
- \COMMAND.COM
- \QD22.LOG
- ... etc. ...
-
- -----------------------------------------------------------------
-
- FList lists all files, volume labels, directories, and files on a
- disk. It always starts at the root directory, and traverses all
- subdirectories on a disk. If a disk drive is explicitly
- selected, the drive letter will be displayed in the output file
- list. If the drive to be selected is allowed to default to the
- current disk drive, no drive letter will appear in the file name.
- This can sometimes be useful if you're comparing lists of files
- from different drives, and want to use a database or other tool
- to match them.
-
- Below is a message describing one use for FList with Paradox. It
- uses suggests use of FList on "current drive, because:
-
- \DOS\TEST.TXT will match \DOS\TEST.TXT but
- C:\DOS\TEST.TXT won't match D:\DOS\TEST.TXT.
-
- FList is provided as is. The Turbo Pascal 4.0 source code is
- provided, so if you don't like what it does, you can change it.
-
- -----------------------------------------------------------------
-
- A brief explanation of what each example syntax will do follows:
-
- flist
-
- This will display all the files on the default disk on the screen.
- The file names will include the full path, but will NOT include
- the drive letter (i.e. \DOS\TEST.TXT).
-
- flist d:
-
- This will display all the files on the D: disk drive on the screen.
- The file names WILL include the drive letter (i.e. D:\DOS\TEST.TXT).
-
- flist c: > a:\files.c
-
- This will create a file on the A: disk drive called Files.C
- listing all the files on the C: disk drive, with the drive letter
- preceding each file name.
-
- flist > a:\files.c
-
- This will create a file on the A: disk drive called Files.C
- listing all the files on the current or default disk drive.
- Would probably only make sense if the C: drive is the default
- disk drive when the command is issued. The drive letter will NOT
- precede each file name.
-
- flist ?
-
- This will display the Syntax and Examples shown above.
-
- ------- message with example use of FList with Paradox ---------
-
- #: 10 S0/EasyPlex
- 17-Jun-88 20:16 PDT
- Sb: Disk Reorganization
-
- I saw your message on the Borland Paradox SIG. If I
- understand the problem, you're trying to find out which files are
- missing from a disk drive, when you tried to transfer all of them
- (with the same directory structure) from one machine to another.
- The next EasyPlex message is a Binary file (FList.Arc) that might
- help you. I hope you're using TapCis or some such program that
- makes it easy to download binary EasyPlex messages. TapCis will
- handle it automatically, but put it in a file EPlex1.Bin or some
- such.
- All FList does is list all of the files on a drive to the
- screen or via re-direction, to a file. But with Paradox, you could
- easily use it to find the missing files. I'd suggest the following
- steps (I'll call the drives you want to compare Source and Dest):
-
- 01) ArcE FList.Arc and put Flist.Exe & Doc on your path somewhere
- 02) put a blank formatted floppy in A:
- 03) make Source the current default disk drive
- 04) FList > A:\Source.Lst
- 05) make Dest the current default disk drive
- 06) FList > A:\Dest.Lst
- 07) start up Paradox
- 08) Create a table called Source with 1 field = FileName A64
- 09) Tools/ExportImport/Import/Ascii/AppendDelimited A:\Source.Lst
- to table Source
- 10) Create a table called Dest with 1 field = FileName A64
- 11) Tools/ExportImport/Import/Ascii/AppendDelimited A:\Dest.Lst
- to table Dest
- 12) Tools/More/Subtract Dest from Source (I don't remember the
- syntax to do the subtraction right, but I'm sure you do).
-
- The Source table will now contain a list of the files that
- didn't make it to the Destination (it will also show the volume
- label name, if they're different). Or if you want to do it the
- other way, reverse the subtraction. You can always delete and
- re-create the tables by importing again.
-