Home   MS-DOS Home   A-Z   NS Utilities   Command Syntax


SYSLOG

 
NukeSoft

NukeSoft Utilities


 
Comes with these versions of  DOS  N/A
How difficult to use (1 = easy, 4 = hard)? 1
How safe to use (1 = very safe, 4 = very dangerous)?  1
How common (1 =very common, 4 = very obscure)?  2

Description

Designed to be placed in the AUTOEXEC.BAT file to record what time the computer was booted into a file.

How to use

Add the line:

\path\SYSLOG.EXE

to your AUTOEXEC.BAT file

To run at command line:

SYSLOG

Comments

SYSLOG writes a line consisting of "System boot at <time> on <date>" to the file C:\SYSTEM.LOG. If you have the CONFIG environment variable set, it also adds "%CONFIG% config". There is currently no way to change the file it writes to.

SYSLOG, BT and SDLOG all work best if  the TZ environment variable is set. If it is not, they tend to produce garbage. TZ should be set as below:

SET TZ=TTTHH[SSS]

TTT is a three letter code corresponding to your time zone.
HH is the number of hours + or - from GMT. Pluses and minuses may be included.
SSS is a three letter code for daylight saving time/summer time. This bit should only be included if your computer is set to summer time.

For example, if you live in the UK you should use the following:

SET TZ=GMT0

or

SET TZ=GMT0BST

if it is British Summer Time.

See Also

BT
SDLOG
 
Download this file (90KB)
Home Home
NukeSoft NukeSoft Home
MS-DOS MS-DOS Home

Top of page    Home    MS-DOS Home    NS Utilities
Copyright © 2005 Marcus Houlden  |  Copyright and Data Protection

Printed from the NukeSoft MS-DOS Reference. Copyright © 1995 - 2006 Marcus Houlden