home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / utils / d&t.zip / DT.DOC < prev    next >
Text File  |  1990-02-23  |  5KB  |  126 lines

  1.                         SET DATE AND TIME
  2.  
  3.                  Copyright 1987 - Robert L. Brown
  4.  
  5.           If you use this program, please send $3.50 to:
  6.  
  7.                         BROWN ENTERPRISES
  8.                          322 Davis Drive
  9.                         Kingston, TN 37763
  10.  
  11.                            DESCRIPTION
  12.  
  13. For computers that do not have a built in clock and calendar, 
  14. the date and time is usually set manually when the computer is 
  15. first turned on.  This program can replace that operation.  It 
  16. offers a measure of convenience by eliminating awkward 
  17. keystrokes (like<-> and <:>).  The time is also set using the 
  18. conventional am and pm thus avoiding the nuisance of trying to 
  19. figure the pm hours.  This program will be especially attractive 
  20. for the beginning computer person who very often is not good at 
  21. typing.  
  22.  
  23.  
  24. The source code, written in BASIC (DT.BAS), is included and may 
  25. be easily merged into your favorite BASIC programs.  It is then 
  26. easy to alter to suit specific needs.  It also has been compiled 
  27. using QuickBASIC to make a stand alone file (DT.EXE) that does 
  28. not require loading BASIC in order to run.  
  29.  
  30.                           INSTALLATION
  31.  
  32. The following instructions assume that your computer has two 
  33. disk drives (A and B).
  34.  
  35. First, format a bootable disk.  This is done by placing your 
  36. DOS disk in drive A and a new blank disk in drive B.  Then type:
  37.  
  38.          FORMAT B:/S <RETURN>
  39.  
  40. Remove the DOS disk from drive A and place SET TIME AND DATE disk 
  41. in drive A (Files may be in the directory "DT").  Leave the
  42. newly formatted disk in drive B and type:
  43.  
  44.          COPY *.* B: <RETURN>
  45.  
  46. All the files in drive A have now been duplicated in drive 
  47. B.  Remove the original SET TIME AND DATE disk and store it in a 
  48. safeplace.  The disk in drive B will be your working SET DATE 
  49. AND TIME disk.  Your working disk should contain the following 
  50. files:
  51.  
  52.          AUTOEXEC.BAT
  53.          DT.EXE
  54.          DT.BAS
  55.          DT.DOC
  56.  
  57. To check your program, place your working disk in drive A and 
  58. reboot by pressing Ctrl-Alt-Del.  The first thing that will be 
  59. displayed will be SET DATE AND TIME.  The program will return 
  60. you to DOS when finished.  The RAM memory space it uses will 
  61. also be returned to DOS for the use of other programs.  SET DATE 
  62. AND TIME can be run at any time, without rebooting, by typing:
  63.  
  64.          DT <RETURN>
  65.  
  66. To run SET DATE AND TIME using BASIC place a disk with your 
  67. BASIC file (BASIC, BASICA,etc.) in drive A and your working disk 
  68. in drive B and type:
  69.  
  70.          COPY A:(your BASIC) B:DT <RETURN>
  71.  
  72.                   CREATING AN AUTOEXEC.BAT FILE
  73.  
  74. When you turn on the power to your computer it will search for 
  75. an AUTOEXEC.BAT file.  If this file exist on the disk in the A 
  76. drive the computer will skip the DOS parts that ask for you to 
  77. set the time and date.  CAUTION!  Before proceeding make sure 
  78. that an AUTOEXEC.BAT file does not already exist.  You may list 
  79. the files on a disk by typing:
  80.  
  81.          DIR/W <RETURN>
  82.  
  83. If AUTOEXEC.BAT does not exist and you want SET DATE AND TIME to 
  84. come up automatically when you turn the power on, create an 
  85. AUTOEXEC.BAT file by typing:
  86.  
  87.          COPY CON B:AUTOEXEC.BAT <RETURN>
  88.  
  89. COPY CON directs the computer to copy the keystrokes that 
  90. you type to the console.  After pressing <RETURN> your cursor 
  91. will appear on the next line with the prompt A> missing.  You are 
  92. now ready to type the contents of your AUTOEXEC.BAT file.  Type:
  93.  
  94.          DT <RETURN>
  95.  
  96. Finish this file and save it by pressing the special function key 
  97. <F6> and <RETURN>.  Check by rebooting and see if SET DATE 
  98. AND TIME appears on your screen.
  99.  
  100. If an AUTOEXEC.BAT file already exist, SET DATE AND TIME can be 
  101. added to it in the same way as above.  First find out what is in 
  102. the existing AUTOEXEC.BAT file by typing:
  103.  
  104.          TYPE AUTOEXEC.BAT <RETURN>
  105.  
  106. If the contents are short and you have a printer, then 
  107. press <PRT><SC> to record it for retyping.  If you do not have a 
  108. printer write it down exactly as it is written with spaces and 
  109. punctuation.  Now type:
  110.  
  111.          COPY CON AUTOEXEC.BAT <RETURN>
  112.  
  113. On the first line type in SET DATE AND TIME instructions 
  114. as described above (DT).  Then retype the rest of the 
  115. instructions exactly as they were originally.  If the 
  116. existing instructions are long you can save a lot of typing by 
  117. consulting your DOS books on how to edit AUTOEXEC.BAT files and 
  118. other batch files.  Some (but not all) word processors may also 
  119. be used to edit existing files.
  120.  
  121. Note that the extension BAT (xxxxxxxx.BAT) stands for BATch. 
  122. Only AUTOEXEC.BAT is used when booting up.  Any other name with 
  123. a BAT extension may be used for setting up and running an 
  124. application program.  SET DATE AND TIME may be added to any 
  125. BATch program in the same way as described above.
  126.