HP3000-L Archives

May 2002, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Tue, 21 May 2002 14:32:57 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (21 lines)
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 *

ATOM RSS1 RSS2