delorie.com/archives/browse.cgi | search |
Message-ID: | <396D0344.83788EA9@bestweb.net> |
From: | Kenneth Brody <kenbrody AT bestweb DOT net> |
Organization: | Kenneth Brody and filePro |
X-Mailer: | Mozilla 4.72 [en] (Win95; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.misc,comp.os.msdos.djgpp |
Subject: | Re: to pipe system variables other variables at command line |
References: | <3957018F DOT 35C44125 AT gmx DOT de DOT de> <3959A07F DOT FB5A37A6 AT uclink4 DOT berkeley DOT edu> |
Lines: | 24 |
Date: | Wed, 12 Jul 2000 23:49:09 GMT |
NNTP-Posting-Host: | 216.179.3.146 |
X-Complaints-To: | Abuse Role <abuse AT bestweb DOT net>, We Care <abuse AT newsread DOT com> |
X-Trace: | monger.newsread.com 963445749 216.179.3.146 (Wed, 12 Jul 2000 19:49:09 EDT) |
NNTP-Posting-Date: | Wed, 12 Jul 2000 19:49:09 EDT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Phil Robyn wrote: > > Stephan Rink wrote: > > > I like to pipe a system variables to another variable at a MS DOS shell > > without using a file. [...] > for /f "tokens=*" %a in ('date /t') do set zdate=%a What version of DOS are you running? No version I know of has such a syntax. -- +---------+----------------------------------+-----------------------------+ | Kenneth | kenbrody AT bestweb DOT net | "The opinions expressed | | J. | | herein are not necessarily | | Brody | http://www.bestweb.net/~kenbrody | those of fP Technologies." | +---------+----------------------------------+-----------------------------+ GCS (ver 3.12) d- s+++: a C++$(+++) ULAVHSC^++++$ P+>+++ L+(++) E-(---) W++ N+ o+ K(---) w@ M@ V- PS++(+) PE@ Y+ PGP-(+) t+ R@ tv+() b+ DI+(++++) D---() G e* h---- r+++ y?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |