home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / ibm1 / ralphson.arj / DATEUTLS / DTSTAMP.DOC < prev    next >
Encoding:
Text File  |  1991-07-28  |  2.2 KB  |  75 lines

  1.  
  2.        DTSTAMP.DOC - Documentation for DTStamp version 1.03  27/07/1991
  3.  
  4.     Documentation and executable code Copyright (c) 1991 Michael E. Ralphson
  5.  
  6.  
  7. Disclaimer:
  8. ===========
  9.  
  10. The Author retains copyright in that he alone has the right to make copies for
  11. profit. In all other respects users may treat this software as if it were in
  12. the Public Domain, as long as the package is distributed whole and unmodified.
  13.  
  14. In my opinion this software is perfectly safe and is free of any serious bugs,
  15. however I have to make it clear that use of this software constitutes the
  16. user's full acknowledgement that the author takes no responsibility WHATSOEVER
  17. for the consequences of such use.
  18.  
  19. Commercial users must register within 30 days if they wish to continue using
  20. this software. For non-commercial users registration is purely voluntary. See
  21. enclosed Register.Txt for more details.
  22.  
  23.  
  24. Introduction:
  25. =============
  26.  
  27. DTStamp is a simple program that writes to the screen the current system date
  28. and time, followed by an optional command-line comment. The usefulness of the
  29. program is in creating log files.
  30.  
  31. Usage:
  32. ======
  33.  
  34. DTStamp <comment>
  35.  
  36. DTStamp with no parameters will display a short summary of these instructions.
  37.  
  38. If <comment> starts with a full stop '.' character, then no comment will be
  39. displayed. This is similar to the usage of the DOS Echo. command producing a
  40. blank line.
  41.  
  42. Output from DTStamp is of course fully redirectable, in a batch file the
  43. following lines could be used:
  44.  
  45. @Echo off
  46. DTStamp .>>Usage.Log
  47. DTStamp User entered Accounts software>>Usage.Log
  48. .
  49. .
  50. .
  51. DTStamp User exitted Accounts software>>Usage.Log
  52.  
  53. The double greater-than symbols '>>' just mean: redirect the output from this
  54. program to a text file, adding to the end of the text file if it already
  55. exists.
  56.  
  57. Do not forget that in batch files you can insert command-line parameters into
  58. the DTStamp comment with %1, %2, %3 etc and environment variables such as the
  59. path to your command-processor with %COMSPEC%
  60.  
  61. Many systems have environment variables set up to indicate options, paths and
  62. parameters for specific programs.
  63.  
  64.  
  65. Version History:
  66. ================
  67.  
  68.  1.03  -  July 1991
  69.  
  70.  
  71. Thanks To:
  72. ==========
  73.  
  74. Mark Cracknell (as usual!)
  75.