Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Want a Batch Code for renaming a file with Current Date,Time
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Eman  
View profile  
 More options Jan 29 2007, 11:42 am
Newsgroups: alt.msdos.batch
From: "Eman" <e.-m.-a...@hotmail.com>
Date: Mon, 29 Jan 2007 19:42:43 +0300
Local: Mon, Jan 29 2007 11:42 am
Subject: Re: Want a Batch Code for renaming a file with Current Date,Time
"Timo Salmi" <t...@uwasa.fi>

> Dr J R Stockton <reply0...@merlyn.demon.co.uk> wrote:
>>         ECHO.|DATE
>>    gives something like
>>         The current date is: 2007-01-28
>>         Enter the new date: (yy-mm-dd)

> Now, John, that is an excellent point. So obvious, yet so far missed, at
> least be yours turly. With cmd.exe it is relatively easy to ascertain
> the order from the latter. Yes, I know that is for alt.msdos.batch.nt
> but it will be a good locale-independent method for my FAQ in there.

This second row works well when your are under latin-
alphabet-based locale. Otherwise there is neither
"yy" nor "mm", and you just don't understand what this
"ыы-яя-йй" means. But this is not the only point, 'coz
there is another one. Under "LocalSystem" account on
some Windows this "yy-mm-dd" order simply does not
correspond to actual format of %date% in the 1st row.
> Thanks for the idea. I'll try to write a suitable script for it
> requiring no third-party utility, and post there.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.