home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
arc_lbr
/
arcfdat3.arc
/
ARCFDATE.DOC
< prev
next >
Wrap
Text File
|
1987-11-28
|
12KB
|
368 lines
P A T R I Q U I N ' S
Hard Disk Utilities
by
Norm J. Patriquin
ARCFDATE -- Change archive file date
User's Guide
November 1987
Copyright 1987 by Norm Patriquin
ARCFDATE -- Correct file dates for archive files . . . . . 1
Command Parameters . . . . . . . . . . . . . . . . . . . 2
Examples: . . . . . . . . . . . . . . . . . . . . . . . 5
Program Maintenance: . . . . . . . . . . . . . . . . . . 5
Registering The Utilities . . . . . . . . . . . . . . . . . . 6
Registration . . . . . . . . . . . . . . . . . . . . . . . . 7
Reporting Problems . . . . . . . . . . . . . . . . . . . . . 9
ARCFDATE -- Correct file dates for archive files
ARCFDATE was created to help you keep meaningful dates on .ARC
files on your disks. Often the date on .ARC files are incorrect
and examining them with the DOS directory command does not reveal
how current the file really is. This utility will set the archive
file date to be equal to the date of the newest file found in the
archive.
This can be especially helpful to bulletin board SYSOPS as it can
help then to determine what are the current files in the boards
download directory.
Command Parameters
ARCFDATE allows several command parameter switches to be specified
to customize the process. All these parameters are optional. The
command format and switch parameters are described below. A quick
review of command parameters is always available by entering the
ARCFDATE command with no parameters.
COMMAND FORMAT:
ARCFDATE filespec [ (/ switches) ]
filespec Enter a DOS file specification. Pathnames and
standard DOS wildcard characters are allowed.
/A Archive - Selects only files that have been marked
updated by DOS. This flag is updated by DOS
whenever a files is processed with an intent to
change or create new data.
/D:[(]xxx Date. Select files based on the relationship
between
[)] their last update date and the date specified.
This
[=] parameter includes a date or number of days value.
It may also contain a modifier that reverses or
modifies the use of the date specified.
When xxx contains a date the date is compared to
the last update date of the file. The last update
date of the file is the date contained in its
directory entry. The file is selected if the
condition specified by the condition modifier is
met. The condition modifier meanings are:
'(' Select files whose date is older than the date
specified.
')' Select files whose date is newer than the date
specified.
'=' Select files whose date is equal to the date
specified.
If the condition modifier is not specified, ')' is
assumed.
Date values may be specified in any of the
following formats:
MM/DD/YY MM-DD-YY DDMMMYY
12/31/80 12-31-80 31DEC80
If xxx contains a numeric value, that positive
number is used to calculate a date value a number
of days prior to the current date. Then that date
is used as in the calculation above.
Example:
/D:(1JAN86 - Process files updated before 1JAN86
/D:)1JAN86 - Process files updated after 1JAN86
/D:=1JAN86 - Process files updated 1JAN86
/D:(5 - Process files modified prior to 5 days ago
/D:)5 - Process files modified within the last 5
days
/D:=5 - Process files modified 5 days ago
/F:file First. Indicates that processing is not to start
until the specified full filename is encountered in
the scan of the directory.
/L:file Last. Indicates that processing is to stop after
the specified full filename is encountered in the
scan of the directory. The file specified will be
processed if it matches selection criteria.
/M Stop screen from scrolling from scrolling past the
end without user intervention (MORE).
/NC Do not display output in color.
/O Indicates that all filenames except those matching
the filename specified on the input command are to
be selected for processing.
/P Pause before each file is updated to allow user to
approve or reject the action for each file.
/RO Include files marked with DOS readonly attribute.
/S System. Search all directories on the specified
disk for files to be processed.
/SF Include files marked with DOS System attribute.
/SZ: [(] [)] nnn Select a file based on its size. The
left paren indicates that files less than the
indicated size are to be selected. The right paren
indicates to select files greater than the size.
If right or left paren are not specified, a left
paren is assumed. Following are examples.
/SZ:100 -- Select files less than 100
characters
/SZ:(100 -- Select files less than 100
characters
/SZ:)100 -- Select files greater than 100
characters
/T Test the command. Use this switch when you would
like to test the command entered without actually
updating any files.
Messages will indicate what will happen if the
command is executed without the /T switch.
Examples:
Reset dates on all archive files in the current
directory.
ARCFDATE *
Test ARCFDATE to determine what it will do. Do not
actually change any files. Use this first to be sure
you are using the utility correctly.
ARCFDATE */t
Reset archive dates on all files on the current disk
drive.
ARCFDATE */s
Reset archive dates on all files beginning with the
letter P.
ARCFDATE p*/s
Reset archive date on an individual file:
ARCFDATE PCOPY62.ARC
Program Maintenance:
Version 1.0 September 7, 1987
Version 1.2 September 23, 1987
Processing stopped after several errors encountered.
Version 1.3 November 28, 1987
Correct problem causing system hangup after message shown.
Registering The Utilities
All utilities are distributed under the Shareware concept. This
makes them available for anyone to try without obligation. If you
decide one is useful and want to keep it, I ask that you register
your use of it. This will allow for continued support and
maintenance of the program and will help to encourage that more
quality software be made available through this channel. We ask
all corporate and government users of utilities register their
copies.
The form on the following page indicates registration costs and
may be used to register any or all of the utilities.
Send registration requests to:
Norm Patriquin
P.O. Box 8263
San Bernardino, CA 92412
The registration charge is a one time fee that entitles you to all
future versions of the product. These may either be obtained from
normal Shareware sources or directly from me. Any organization
ordering more than 100 copies is also entitled to telephone
support and will be given the technical support number.
Registration
ARCFDATE version 1.3
Please register the following utilities. I have enclosed the fees
as marked below.
_____ PALERT........................................ $15.00
_____ PATTR......................................... $10.00
_____ PCOPY & PMOVE................................. $15.00
_____ PDAILY........................................ $10.00
_____ PDELETE....................................... $15.00
_____ PPRINT........................................ $15.00
_____ PSEARCH....................................... $15.00
_____ ARCFDATE...................................... $15.00
_____ PTOUCH........................................ No Charge
_____ Users Guide for all utilities and disk........
(Does not include registration) $15.00
_____ Registration of all Patriquin Utilities with
program disk and User's Guide.............. $45.00
_____ Update of newest Patriquin Utility disk with
manual. ................................... $15.00
_____ Disk source for all utilities. This does not
include source for other vendors C tools
packages used for development.................. $200.00
****************************************************************
Name: __________________________________________________
Company: _______________________________________________
Address: _______________________________________________
_______________________________________________
City: ________________________ State: _______ Zip: ________
I learned about the utilities from: ____________________________
If BBS indicate name and number please._________________________
________________________________________________________________
Please register the software under the following name:
____________________________________________________
Send to: Norm Patriquin
P.O. Box 8263
San Bernardino, CA 92412Reporting Problems
I welcome all comments or enhancement suggestions. Please document
each item clearly and provide printed examples if possible.
Please be sure to include this form with all requests, it will
help to make sure we can provide you with the best possible
service.
Name: __________________________________________________________
Company: _______________________________________________________
Address: _______________________________________________________
______________________________________________________
City: __________________________________ State: _______________
Zip: ______________________________
Telephone: _______ / ________________________ (Home / Work)
Date: _________________________
Name of Utility: _______________________________________________
Description of problem or enhancement:
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
Suggested solution:
________________________________________________________________
________________________________________________________________