Log files and dates

  • Thread starter Thread starter Adrian Marsh (NNTP)
  • Start date Start date
A

Adrian Marsh (NNTP)

I'm logging AT jobs, but different types of machines are reporting the
date in different formats, eg:

05/11/2004#SWOXPTEST
Fri 05/11/2004#SWOCMPQ01
Fri 05/11/2004#SWODELL02
Fri 11/05/2004#TESTLAPTOP2


SWOXPTEST Runs XP, but misses putting the "Fri" bit into the log
SWOCMPQ01 runs Advanced server, and works the way I want it to
SWODELL02 runs W2KPro, and work like I want it to.
TESTLAPTOP02 runs W2Kpro too, but returns a different date format.


All the AT jobs run as SYSTEM. All run with the command:
'echo "%DATE%#%COMPUTERNAME%" >> \\server\log$\log.txt'

How can I standardise the date ? I load up .reg files to correct the
local user timezone info, but can't see how to do this for the SYSTEM
account.

Adrian
 
Have a look in;
HKEY_USERS\.DEFAULT\Control Panel\International

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| I'm logging AT jobs, but different types of machines are reporting the
| date in different formats, eg:
|
| 05/11/2004#SWOXPTEST
| Fri 05/11/2004#SWOCMPQ01
| Fri 05/11/2004#SWODELL02
| Fri 11/05/2004#TESTLAPTOP2
|
|
| SWOXPTEST Runs XP, but misses putting the "Fri" bit into the log
| SWOCMPQ01 runs Advanced server, and works the way I want it to
| SWODELL02 runs W2KPro, and work like I want it to.
| TESTLAPTOP02 runs W2Kpro too, but returns a different date format.
|
|
| All the AT jobs run as SYSTEM. All run with the command:
| 'echo "%DATE%#%COMPUTERNAME%" >> \\server\log$\log.txt'
|
| How can I standardise the date ? I load up .reg files to correct the
| local user timezone info, but can't see how to do this for the SYSTEM
| account.
|
| Adrian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top