Server To Station v1.0 Date/time control for your Novell file server Copyright (C) by Barry Brevik 1993, all rights reserved 711 Calle Cardo Thousand Oaks, CA 91360 CIS 70132,2277 Are you tired of going to the office two weekends a year to change the network time when Daylight Savings Time starts or ends? Then automate, with S2S. Server To Station is a Novell Netware specific application that allows the user to set the file server date and time from the command line or a batch file. Gone is the inconvenience of using the file server console or dealing with the FCONSOLE utility to perform this simple task. To use Server To Station, execute the utility as follows: S2S -s If you execute S2S without any parameters, S2S will issue it's usage screen. To actually set the file server date and time you must use the "-s" (set) switch. When you invoke the "-s" switch, the target file server will be synchronized to the current date and time of the PC running the utility. Note that the "set" switch can be upper or lower case and preceded by either a "-" or a "/". To use this utility you must be logged into a file server as a user with Console Operator privileges or Supervisor equivalency, so it can safely be kept in the SYS:PUBLIC directory of your file server without fear of misuse. The first message delivered by S2S will indicate which file server you are setting the date/time on. This will always be the DEFAULT file server- for example, if drive "F:" is mapped to FS1 and drive "F:" is the current drive, then FS1 is the default file server. Next, S2S displays the date/time of the file server before and after setting. The final message delivered by S2S will indicate whether the file server date/time was set or was NOT set. If the date/time was not set, a DOS batch file errorlevel of 1 will be returned, otherwise errorlevel will be 0. If you are logged in but unsure of which file server the current drive is mapped to, you can issue "S2S" without any parameters and see the default server, or use the Netware "MAP" command. S2S really shines when used with PCCLOCK, a shareware utility that uses your modem to synchronize your PC's date and time with our nation's most accurate atomic clock time standards. Together PCCLOCK and S2S offer an easy batch file method of automating date and time setting for your network file servers. PCCLOCK is authored by Michael J. Sadaway and is available on Compuserve in the IBMSYS/DOS and MSDOS/SHAREWARE forums or from the author directly at: M.J. Sadaway [PCCLOCK] Box 128-P South Walpole, MA 02071 S2S is shipped with a companion utility, xDELAY. Use xDELAY to delay the execution of S2S (or any other DOS program) until a specified day and time are reached. For example, let's say you want to set your computer to call the NIST atomic clock and automatically set your file server. You do this Friday night before you leave work, but Daylight Savings Time does not change until Sunday. No problem, that's what xDELAY is for. The following batch file demonstrates how you might combine utilities to achieve this: @echo off xdelay 0:12:00 if errorlevel == 1 goto end :start pcclock auto if errorlevel == 1 goto start s2s -s :end logout A misguided individual could come along and CTRL/C out of this batch file, but if you lock your keyboard, being logged in as a console operator to run the batch should present a minimal danger. On the other hand, if you wish to eliminate the possibility of anyone else gaining possession of your unattended terminal, there is another (free) utility available from the author that absorbs all keystrokes including CTRL/ALT/DELETE which you can place at the start of your batch file once you know it is working properly. The display output of both S2S and xDELAY can be routed to a text file or printer using standard DOS redirection like this: S2S -s > fstime.txt Both S2S and xDELAY also have CTRL/C and CTRL/BREAK handlers to avoid the unpleasant results of unexpected termination. System requirements for S2S: Workstation must be running MSDOS v3.0 or better. Netware shell must be v3.01 or better. File server must be running Advanced Netware v2.10 or better. Note that xDELAY.COM has been renamed as S2SDELAY.COM to help keep the files comprising this download package together. You may want to rename the file back to xDELAY.COM after downloading. The author of Server To Station, Barry Brevik, hereby grants a license to all who wish to use S2S and xDELAY. The author requires no fee for this license and it may be copied and distributed freely provided that no fee is charged by any other person or organization. Server To Station and xDELAY are both Copyrighted software and all rights are reserved by Barry Brevik. For those who are interested, Server To Station and xDELAY have been lovingly hand-crafted in Assembly Language. Barry Brevik is a computer programmer and network administrator employed in Southern California who occasionally takes time out to eat and sleep. If you wish to be included in a mailing list for information on other network utilities or possible updates to S2S and xDELAY, send your particulars including your CIS id either by CIS EMAIL or U.S. postal service to: Barry Brevik 711 Calle Cardo Thousand Oaks, CA 91360 CIS [70132,2277] *end of file