-----BEGIN PGP SIGNED MESSAGE----- wHat A tIMe V.0,01. Copyright 1996 Jon Wickmann ALL RIGHTS RESERVED YOU HAVE TO READ THIS I wrote this software therefore I have all the rights to this software, I do not give away this software or any rights to it. However, I grant you the right to use this software if you accept all the conditions in this documentation. Disclaimer -- NO WARRANTY This software is distributed "AS IS" WITHOUT ANY WARRANTY OF ANY KIND, either expressed or implied. Without ANY warranties of merchantability or fitness for ANY particular purpose. The user (YOU) ASSUMES THE ENTIRE RISK of using this software. IN NO EVENT SHALL Jon Wickmann BE LIABLE FOR ANY DAMAGES CAUSED BY using THIS SOFTWARE. Licence This software is FreeWare for private users (You do not have to pay). People that earn money by using this software (business, governmental, professionals) have to pay (mail me and we will make a deal). If you would like to distribute this software on CD-ROM, BBS, floppies or any other mediae please mail me with a pointer to where it is distributed from (e.g. BBS name and number). IMPORTANT NOTE!! If you distribute this software you may not charge any more than the cost of distributing this software. What you can charge for is the medium it is distributed on and the maintenance of your archive. If you have been charged for more than this please mail me and tell me about it. Contact information You can reach me by email at: wickmann@sn.no By web: http://home.sn.no/~wickmann/wathati.html What does it do? Well it reads the system time and can return hours, minutes, seconds and hundreds in exit codes. The main usage would be in a batch file where it would be used to get the system time and put it in exit codes that a batch file could use to decide what to do on a specified time. How to make it do what it can? The switches You can use both slashes (/) and minuses (-) before the commands. To get the hours: /o To get the minutes: /m To get the seconds: /e To get the hundreds: /n To make wHat A tIMe silent use /s. E.g. wat /so To get my email address you issue the command wat /c. If you need help then just wat /h. The magic it can do in a batch file If You would like a batch file to do something on a specified time you could use a batch file similar to this below. - -----cut-- @echo off wat /so IF ERRORLEVEL = 3 GOTO ccc IF ERRORLEVEL = 2 GOTO bbb IF ERRORLEVEL = 1 GOTO aaa GOTO END :aaa rem Whatever You wish to do one o'clock GOTO END :bbb rem Whatever You wish to do two o'clock GOTO END :ccc rem Whatever You wish to do three o'clock GOTO END :END - - ----cut-- It did not work? It is not so very much I can do with that. Maybe you had some Antivirus utile running that blocked wHat A tIMe or maybe some other security utile on your system, if you encounter this more than once, please mail me and tell about it. Note !! wHat A tIMe will give the exit code 255 on an error. What does it mean that this file is PGP signed? I have signed this file and wat.com (wat.sig) with my PGP signature, so that You have the opportunity to check wherever some one has changed these files before you got them. Please report by mail to me if they where. You can get my PGP public key from my web page and public key servers. Comments, Improvements If you have some mail them to me. Copyright 1996 Jon Wickmann Brands and product names mentioned above and in wHat A tIMe V.0,01. are trademarks or registered trademarks of their respective holders. -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: cp850 Comment: Remember security iQEVAwUBMqiI+5qvcJdBw69FAQFKggf7Bx9Q9Ybx2RHfJ2yxL+Mm7HOvHbZEphzX umZXmKZkjFF0syu0QwljsZtkTLDraisFAnyl+eYedhcUlL4qFjG1TCnidFO2hxjg 3feafGxMg7jf2yL5It7ijqdTma2R+hyCFTsY7IP6e6KeF6UByRK5/B0/6JdeMufi 3oZctl8ycHYhqWwttbrlXy0m4QFmL26WYCoVy3jg71O8NSvsRVy4DRbhNLBp7TW0 qyeEpKlmTfrxSX12rw9h6iXbT7BlDa9YrgHIkFPHLcIipPmcUQ/S9Ri8hvVHQQ7z so5GITDan8jqn5ERly+QLpM1Fo9DLUUQsN9imLRaoTKcP1BqYCxXSw== =DDb9 -----END PGP SIGNATURE-----