PC Review


Reply
Thread Tools Rate Thread

command line date format

 
 
=?Utf-8?B?bWFya19kX2hvbG0=?=
Guest
Posts: n/a
 
      9th Oct 2006
I'm using the date /t command in a batch process. PCs have XP Pro with
regional setting of English New Zealand and the same config.nt and
autoexec.nt. One PC returns the date without the day of the week element.
What could cause this?
 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      9th Oct 2006

"mark_d_holm" <(E-Mail Removed)> wrote in message
news:62B2B1FD-47F1-4335-B541-(E-Mail Removed)...
> I'm using the date /t command in a batch process. PCs have XP Pro with
> regional setting of English New Zealand and the same config.nt and
> autoexec.nt. One PC returns the date without the day of the week element.
> What could cause this?


Neither autoexec.nt nor config.nt play a role in the
data format but the Regional Settings in the Control
Panel do. And rather than using the command date /t,
consider using the variable %date%.


 
Reply With Quote
 
=?Utf-8?B?bWFya19kX2hvbG0=?=
Guest
Posts: n/a
 
      9th Oct 2006


"Pegasus (MVP)" wrote:

>
> "mark_d_holm" <(E-Mail Removed)> wrote in message
> news:62B2B1FD-47F1-4335-B541-(E-Mail Removed)...
> > I'm using the date /t command in a batch process. PCs have XP Pro with
> > regional setting of English New Zealand and the same config.nt and
> > autoexec.nt. One PC returns the date without the day of the week element.
> > What could cause this?

>
> Neither autoexec.nt nor config.nt play a role in the
> data format but the Regional Settings in the Control
> Panel do. And rather than using the command date /t,
> consider using the variable %date%.
>
>
>

Thanks for the tip. Unfortunately it did not fix the problem.
On PC #1 date /t and %date% both return Tue 10/10/2006
On PC #2 both return 10/10/2006
The Regional Settings are identical 'English (New Zealand) - US' except that
PC #1 has the Handwriting Recognition elements installed (Language tab and
Details)
Any ideas?
 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      10th Oct 2006

"mark_d_holm" <(E-Mail Removed)> wrote in message
news:35674637-E2A2-42C6-8554-(E-Mail Removed)...
>
>
> "Pegasus (MVP)" wrote:
>
> >
> > "mark_d_holm" <(E-Mail Removed)> wrote in message
> > news:62B2B1FD-47F1-4335-B541-(E-Mail Removed)...
> > > I'm using the date /t command in a batch process. PCs have XP Pro

with
> > > regional setting of English New Zealand and the same config.nt and
> > > autoexec.nt. One PC returns the date without the day of the week

element.
> > > What could cause this?

> >
> > Neither autoexec.nt nor config.nt play a role in the
> > data format but the Regional Settings in the Control
> > Panel do. And rather than using the command date /t,
> > consider using the variable %date%.
> >
> >
> >

> Thanks for the tip. Unfortunately it did not fix the problem.
> On PC #1 date /t and %date% both return Tue 10/10/2006
> On PC #2 both return 10/10/2006
> The Regional Settings are identical 'English (New Zealand) - US' except

that
> PC #1 has the Handwriting Recognition elements installed (Language tab and
> Details)
> Any ideas?


You need to dig a little deeper in your Regional Settings.
Have a look at the place where the date, time and number
formats are defined!


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
format from command line Pipe Windows XP Help 6 7th Jan 2008 10:22 PM
How to change regional settings (date format) from command line ? flahmeshess Microsoft Windows 2000 5 16th Oct 2007 09:44 PM
command line date format =?Utf-8?B?bWFya19kX2hvbG0=?= Windows XP Help 0 9th Oct 2006 11:57 PM
Patitions/format with command line tools. Lasse Windows XP Embedded 1 10th Sep 2004 07:09 AM
command line format jfradley Windows XP Embedded 4 4th Dec 2003 08:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:53 PM.