home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
lan
/
srvtime
/
read.me
next >
Wrap
Text File
|
1989-01-05
|
1KB
|
20 lines
/* Program to set the default file server time to the setting of the
* attached workstation clock. Written by Alan Marshall, Proteon
* 1/5/89. The program is accurate to within about 2 seconds between
* setting and login to the server. The resolution seems to be in the
* setting algorithm within the file server. The program uses the
* SNIT.LIB routine from the 1988 Developer's Conference programs but
* requires a patch to the library file to change an instruction in the
* SetFileServerDateAndTime routine to make the year part work with the
* Advanced 2.11 server software. This patch can be made with debug
* by searching for the sequence: 80,C0,94. At that instruction (in the
* first segment) change the 94 to 00 and write out the lib file.
* The exe file supplied with this C source has the patch made. It can
* be made to the exe file after linking with snit.lib.
* Good luck!
* -Al Marshall
*/
The program was written and tested on TurboC version 1.5. Remember the
user of the program must have CONSOLE operator rights to make it work.