home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / dirutl / touch.arc / TOUCH.MAN < prev   
Text File  |  1987-09-27  |  2KB  |  66 lines

  1.  
  2.  
  3. TOUCH(1)           An MS-DOS Utility            TOUCH(1)
  4.  
  5.  
  6. NAME
  7.     touch - modify the date and time stamp for the named file(s)
  8.  
  9. SYNOPSIS
  10.     touch [-cv] [-d date] [-t time] filespec...
  11.  
  12. DESCRIPTION
  13.     Touch allows you to modify the date and time of last write stamp
  14.     for the named file(s). You may specify the date and/or time
  15.     touch is to use, or you may let touch default to the system date
  16.     and/or time. If the file to be touched does not exist, touch
  17.     will create it.
  18.  
  19.     Touch supports the following options:
  20.  
  21.     -c        Don't auto-create files that don't exist.
  22.  
  23.     -v        List the touched files to stdout.
  24.  
  25.     -d date     Use the specified date instead of the system
  26.             date. The date string must be in the form
  27.             <month><delim><day><delim><year>. Month must be
  28.             an integer in the range [1..12]; day must be an
  29.             integer in the range [1..max_date_for_month];
  30.             year must be an integer in the range
  31.             [1980..2100], though [80..99] may be used as a
  32.             shorthand form for 1980..1999. The delimiter may
  33.             be any non-numeric character.
  34.  
  35.     -t time     Use the specified time instead of the system
  36.             time. The time string must be in the form
  37.             <hour><delim><min>[<delim><sec>]. Hour must be
  38.             an integer in the range [0..23]; min must be an
  39.             integer in the range [0..59]; the optional sec
  40.             must be an integer in the range [0..59] The
  41.             delimiter may be any non-numeric character.
  42.  
  43.     The filespec parameter(s) may be any legitimate MS-DOS filespec
  44.     and may include any valid MS-DOS wildcard characters.
  45.  
  46.     If an error occurs during the attempted modification (such as
  47.     trying to modify a sub-directory), a message saying so appears
  48.     in the output next to the appropriate filespec. Touch then
  49.     continues with the next filespec. Touch returns an exit status
  50.     of the number of files for which the touch failed on normal exit
  51.     or 255 for a fatal exit.
  52.  
  53. AUTHOR
  54.     Richard Hargrove
  55.     Texas Instruments, Inc.
  56.     P.O. Box 869305, m/s 8473
  57.     Plano, TX  75086
  58.     214/575-4128
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                  [ 1 ]
  65.  
  66.