• Question

    From Joe Schweier@1:342/200 to All on Thu Nov 22 06:38:10 2018

    * Forwarded from "FidoNET OS2BBS"
    * Original by Joe Schweier (1:342/200)
    * Original to All
    * Original dated Thu 22 Nov 2018 6:36a

    -+- Forwarded message follows: -+-

    Is there any OS/2 experts out there???

    I use an OS/2 VM, Arca Noae, and I'm using FD/2 FE/2 and Irex/2 to send and receive mail. Anyway, I have a line in an old batch file I use to run on any windows maching, or DOS machine.... BTW it still works on my windows 10 machine.

    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
    del joes.asc
    echo %Date% >>JOES.ASC

    ..... Much Much Much deleted....

    goto ad

    :ad
    PM /I:JOES.ASC /T:All /S:BBS AD %date% /C:21
    :Stop

    That line captures the current date and then I can add it into my BBS ad txt file....

    Anyway, is there a similar command for OS/2??

    Thanx

    Joe

    -!-
    ! Origin: Joe's Mail System 1:342/200 -=joesbbs.com=- (1:342/200)

    -+- End of forwarded message -+-

    ---
    * Origin: Joe's Mail System 1:342/200 -=joesbbs.com=- (1:342/200)
  • From Brother Rabbit@2:460/5858 to Joe Schweier on Fri Nov 23 09:24:18 2018
    Hi, Joe!

    22 ¡«∩ 18 06:38, Joe Schweier -> All:

    Is there any OS/2 experts out there???

    I use an OS/2 VM, Arca Noae, and I'm using FD/2 FE/2 and Irex/2 to send and receive mail. Anyway, I have a line in an old batch file I use to run on any windows maching, or DOS machine.... BTW it still works on my windows 10 machine.

    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

    Have nice nights.
    Brother Rabbit.

    ---
    * Origin: Lame Users Breeding. Simferopol, Crimea. (2:460/5858)
  • From IB JOE@1:342/201 to Brother Rabbit on Fri Nov 23 10:53:50 2018
    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)
  • From Joe Schweier@1:342/200 to Brother Rabbit on Fri Nov 23 11:20:58 2018
    It's seems to me, you may use simple code like:

    date /t > JOES.ASC

    SYS1036: The system cannot accept the date entered.

    Enter the new date: (mm-dd-yy)

    ^^^^^^^----That's what I get with the above command...

    Thanx
    :)
    Joe

    ---
    * Origin: Joe's Mail System 1:342/200 -=joesbbs.com=- (1:342/200)