Dec 052017
 
PC Magazine's Volume 7 #7 files.
File VOL7N7.ZIP from The Programmer’s Corner in
Category Files from Magazines
PC Magazine’s Volume 7 #7 files.
File Name File Size Zip Size Zip Type
PP707.ZIP 10813 9990 deflated
TOUCH.ASM 30485 5923 deflated
TOUCH.BAS 9962 2405 deflated
TOUCH.COM 1021 898 deflated
TOUCH.DOC 1460 780 deflated

Download File VOL7N7.ZIP Here

Contents of the TOUCH.DOC file



TOUCH
Command

Michael J. Mefford1988 No. 7 (Utilities)


Purpose:Changes the DOS date and/or time designation of a file or
group of files either to the current system values or to user-designated
values.

Format:TOUCH filespec [/D date] [/T time]

Remarks:Entered without any arguments, TOUCH displays a help screen
showing its syntax. If given a filespec but neither of the optional switches
(/D or /T), TOUCH updates the designated file to the current system date and
time. Note that the standard DOS filename wild cards (* and ?) are supported,
so TOUCH can operate on groups of files.

The optional /D date switch permits entry a user-selected date in the
customary DOS mm-dd-yy format. If desired, the hyphen delimiters may be
replaced by forward slashes (/), and the year may be entered either in full
form (e.g. 1988) or in abbreviated (88) form. TOUCH checks that each of the
three fields is filled with a non-zero value, but does not check the validity
of a date (e.g. 2/31/88). Legal DOS years are from 1980 to 2099.

The optional /T time switch permits entry of a user-specified time, in
hours:minutes:seconds. If the minutes and/or seconds parameters are omitted
TOUCH will set them to 0. Hours should be entered in military (24-hour)
format.
Note: The following batch file, TEST.BAT, can be used to cause a DIR
listing to leave the time field blank:

TIME 0
TOUCH TEST.BAT
DIR TEST.BAT


 December 5, 2017  Add comments

Leave a Reply