Subject: | |
From: | |
Reply To: | |
Date: | Tue, 21 May 2002 14:32:57 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Well, that's interesting. I'm familiar with some rather old, kludgy ways of
performing very crude date / time logic. This NTism is new to me. So are the
offsets into the strings. Issuing SET to display env vars does not list
this. And, I cannot find it in W2K help. And, neither google nor
microsoft.com seem to be able to do much with % in strings. If anyone can
point me to some documentation on these env vars and related NT / W2K
features, I would welcome it.
> -----Original Message-----
> From: Bob McGregor [mailto:[log in to unmask]]
> Sent: Tuesday, May 21, 2002 10:19 AM
> To: [log in to unmask]
> Subject: Re: OT: M$-Dos Question
>
> set yyy=%DATE%
> or to get the month value only
> set yyy=%DATE:~4,2%
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|