Dec 162017
Find filenames that contain a specified string, Turbo C source. | |||
---|---|---|---|
File Name | File Size | Zip Size | Zip Type |
DIRF.C | 3459 | 1274 | deflated |
DIRF.DOC | 1592 | 598 | deflated |
DIRF.EXE | 6934 | 4358 | deflated |
Download File DIRF.ZIP Here
Contents of the DIRF.DOC file
DIRF V1.0 by Scott Houck
DIRF is a directory listing utility I wrote in Turbo C which lists all
files containing a certain string. The "F" in DIRF is supposed to be
mnemonic for Find, but you may rename it to anything you want. The
syntax is as follows:
DIRF string [filespec]
Filespec will usually contain wild cards or the name of a directory.
If filespec is omitted, *.* is assumed.
The matching string in each listed file is capitalized.
Here are some examples (where the prompt indicates the current directory):
---------------------------------------
C:\>dirf b
DIRF V1.0 by Scott Houck
Directory of *.*
Files containing string "b"
Batch 7-04-87 1:22p
Bitcom 7-04-87 1:22p
Brief 7-04-87 1:22p
dBase 7-04-87 1:22p
fastBack 7-04-87 1:22p
autoexec.Bat 586 7-08-87 11:13p
6 files found
---------------------------------------
C:\>dirf disk \dos
DIRF V1.0 by Scott Houck
Directory of \dos\*.*
Files containing string "disk"
DISKcomp.com 4073 11-01-85 6:32p
DISKcopy.com 4329 11-01-85 6:32p
fDISK.com 8173 11-01-85 6:32p
vDISK.sys 3307 11-01-85 6:33p
4 files found
---------------------------------------
C:\DBASE>dirf s \dos\d*.*
DIRF V1.0 by Scott Houck
Directory of \dos\d*.*
Files containing string "s"
diSkcomp.com 4073 11-01-85 6:32p
diSkcopy.com 4329 11-01-85 6:32p
driver.Sys 1115 12-30-85 12:00p
3 files found
DIRF is a directory listing utility I wrote in Turbo C which lists all
files containing a certain string. The "F" in DIRF is supposed to be
mnemonic for Find, but you may rename it to anything you want. The
syntax is as follows:
DIRF string [filespec]
Filespec will usually contain wild cards or the name of a directory.
If filespec is omitted, *.* is assumed.
The matching string in each listed file is capitalized.
Here are some examples (where the prompt indicates the current directory):
---------------------------------------
C:\>dirf b
DIRF V1.0 by Scott Houck
Directory of *.*
Files containing string "b"
Batch
Bitcom
Brief
dBase
fastBack
autoexec.Bat 586 7-08-87 11:13p
6 files found
---------------------------------------
C:\>dirf disk \dos
DIRF V1.0 by Scott Houck
Directory of \dos\*.*
Files containing string "disk"
DISKcomp.com 4073 11-01-85 6:32p
DISKcopy.com 4329 11-01-85 6:32p
fDISK.com 8173 11-01-85 6:32p
vDISK.sys 3307 11-01-85 6:33p
4 files found
---------------------------------------
C:\DBASE>dirf s \dos\d*.*
DIRF V1.0 by Scott Houck
Directory of \dos\d*.*
Files containing string "s"
diSkcomp.com 4073 11-01-85 6:32p
diSkcopy.com 4329 11-01-85 6:32p
driver.Sys 1115 12-30-85 12:00p
3 files found
December 16, 2017
Add comments