Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to Batch Language Programming  <--  <--- Return to Home Page
   Networked Database  Batch Language Programming   [21 / 22] RSS
 From   To   Subject   Date/Time 
Message   IB JOE    Brother Rabbit   Re: Question   November 23, 2018
 10:53 AM *  

On 11/23/18, Brother Rabbit said the following...
 BR>  JS> for /f "delims=" %%x in.... See it in the section beclow??
 BR> 
 BR>  JS> :Start
 BR> 
 BR>  JS> @echo off
 BR>  JS> :start
 BR>  JS> cd\Somewhere
 BR>  JS> for /f "delims=" %%x in ('date /t') do set date=%%x
 BR> 
 BR> What do you expect from this code?
 BR> 
 BR>  JS> del joes.asc
 BR>  JS> echo %Date% >>JOES.ASC
 BR> 
 BR> It's seems to me, you may use simple code like:
 BR> 
 BR> date /t > JOES.ASC
 BR> 
 BR> BTW, %DATE% holds current date in windows environment. Try it in OS/2.
 BR> 
 BR> D:\Fido>echo %date%
 BR> 
 BR> 23.11.2018
 BR> 
 BR> D:\Fido>date /t
 BR> 
 BR> 23.11.2018
 BR> 
 
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)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to Batch Language Programming  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0779 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.0.140505

Warning: Unknown: open(c:\Sessions\sess_88346v0ngip8i5ic0h5a38eli0, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_88346v0ngip8i5ic0h5a38eli0, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_88346v0ngip8i5ic0h5a38eli0, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0