On 11/23/18, Brother Rabbit said the following...
for /f "delims=" %%x in.... See it in the section beclow??
:Start
@echo off
:start
cd\Somewhere
for /f "delims=" %%x in ('date /t') do set date=%%x
What do you expect from this code?
del joes.asc
echo %Date% >>JOES.ASC
It's seems to me, you may use simple code like:
date /t > JOES.ASC
BTW, %DATE% holds current date in windows environment. Try it in OS/2.
D:\Fido>echo %date%
23.11.2018
D:\Fido>date /t
23.11.2018
That didn't happen... in a OS/2 or DOS session I type echo %date% and it does not echo the date... it echos %date%.
Apparently the line I have been using for years might be a little cryptic... its worked for decades so I have never thought of changing it.
I know someone who can help me with a Linux fix, the BBS runs on a Pi, and
may be done with that... I'm still doing a back and forth about just running the BBS in Windows so that I won't be asking as many stupid questions.
Thanx
IB JOE
AKA Joe Schweier
SysOp of Joe's Computer & BBS
Telnet: joesbbs.com
--- Mystic BBS v1.12 A39 2018/04/21 (Raspberry Pi/32)
* Origin: Joe's Computer & BBS -=joesbbs.com=- (1:342/201)