• File named after today's date

    From Bill Gordon@1:3634/22 to All on Fri Sep 18 17:06:36 2015
    Recently I asked about how to rename a log file to today's date.log, and was referred to FDATE. Unfortunately that does not work for XP (or at least I couldn't get it to work.)

    Anyone got an idea? I want to keep track of the sbbsecho.log files so they won't
    get SO BIG.

    Ideas??

    Thanks
    --- SBBSecho 2.27-Win32
    * Origin: *Square One BBS - the place to begin (1:3634/22)
  • From Paul Quinn@3:640/1384 to Bill Gordon on Tue Sep 22 11:24:57 2015
    Hi! Bill,

    On 19/09/2015 7:06 AM, you wrote:

    Recently I asked about how to rename a log file to today's date.log,
    and was referred to FDATE. Unfortunately that does not work for XP
    (or at least I couldn't get it to work.)

    I don't usually mess around with XP but I found one that might do it for you...

    Anyone got an idea? I want to keep track of the sbbsecho.log files so
    they won't get SO BIG. >
    Ideas??

    There's an oldie in the BFDS archives called...

    DATFIL12.ZIP 9,857 06-14-94 00:00:00

    I just tried it in my wife's old XP SP2, and the bloody thing worked! Most times anything DOS on it fails miserably. :)

    Also, I have a later version (v2.0) as a text capture that Bat Lang once called
    a 'one-off bastard' in a netmail to me. The v1.2 tool only renames a file to the current day+month, using bits of the original filename for other parts. V2.0 throws in the year as well.

    Let me know if you want the later version and I'll re-post the DEBUG script for
    it.

    Cheers,
    Paul.

    --- Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
    * Origin: Paul's other Linux vBox - Maryborough, Qld, OZ (3:640/1384)
  • From Bill Gordon@1:3634/22 to Paul Quinn on Tue Sep 22 07:41:30 2015
    Let me know if you want the later version and I'll re-post the DEBUG script for it.


    To tell ya the truth, I couldn't do anything with a DEBUG script, not being a programmer. If you could tell me where to download the actual file itself, I might be able to do something then.
    --- SBBSecho 2.27-Win32
    * Origin: * Origin: *Square One BBS-sq1bbs.com (1:3634/22)
  • From Paul Quinn@3:640/384 to Bill Gordon on Wed Sep 23 09:07:25 2015
    Hi! Bill,

    On 22 Sep 15 07:41, you wrote to me:

    Let me know if you want the later version and I'll re-post the
    DEBUG script for it.

    To tell ya the truth, I couldn't do anything with a DEBUG script, not being a programmer. If you could tell me where to download the actual
    file itself, I might be able to do something then.

    The usual practice has always been that such scripts come with instructions on how to use them. I did try it in XP but the attempt crapped-out, as is usual for anything DOS I ever needed to do in it. Which is why I'm still running Win98SE, with the best ever MS-DOS.

    Okay. I ran DEBUG against the script, and it produced a neat .ZIP enclosing an
    .EXE called Datefile. I ran Datefile against a test text file in XP and it worked! I now have a file named 092315A.TXT in place of the original. How's that! :)

    I'll deliver the Datefile.Zip to your node, real soon. Look out for it.

    Cheers,
    Paul.

    ... In case of emergency, break glass. Scream. Bleed to death.
    --- Paul's Win98SE VirtualBox
    * Origin: Quinn's Post - Maryborough, Queensland, OZ (3:640/384)
  • From Bill Gordon@1:3634/22 to Paul Quinn on Tue Sep 22 21:36:14 2015
    I'll deliver the Datefile.Zip to your node, real soon. Look out for it.


    Got it. Now, maybe I COULD use those docs you mentioned. ;)
    --- SBBSecho 2.27-Win32
    * Origin: *Square One BBS - the place to begin (1:3634/22)
  • From Ben Ritchey@1:393/68 to Paul Quinn on Tue Sep 22 21:07:39 2015
    * An ongoing debate between Paul Quinn and Bill Gordon rages on ...

    Okay. I ran DEBUG against the script, and it produced a neat .ZIP enclosing an .EXE called Datefile. I ran Datefile against a test text file in XP and it worked! I now have a file named 092315A.TXT in
    place of the original. How's that! :)
    I'll deliver the Datefile.Zip to your node, real soon. Look out for
    it.

    If you send it my way I will hatch it out in BFDS as well :) see sig ...

    I also allow BinkD inbounds at cmech.dynip.com (standard port)

    --
    Guardien Fide :^)

    Ben aka cMech Web: http://cmech.dynip.com
    Email: fido4cmech(at)lusfiber.net
    Home page: http://cmech.dynip.com/homepage/
    WildCat! Board 24/7 +1-337-984-4794 any BAUD 8,N,1

    --- GoldED+/W32-MSVC
    * Origin: FIDONet - The Positronium Repository (1:393/68)
  • From Paul Quinn@3:640/1384 to Ben Ritchey on Wed Sep 23 14:00:13 2015
    Hi! Ben,

    On 23/09/2015 12:07 PM, you Quinn wrote:

    I'll deliver the Datefile.Zip to your node, real soon. Look out for
    it.

    If you send it my way I will hatch it out in BFDS as well :) see sig ...

    Just delivered! Another minor miracle, as I'd already deleted it. :)

    Cheers,
    Paul.

    --- Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
    * Origin: Paul's other Linux vBox - Maryborough, Qld, OZ (3:640/1384)
  • From Ben Ritchey@1:393/68 to Paul Quinn on Tue Sep 22 23:21:34 2015
    * An ongoing debate between Paul Quinn and Ben Ritchey rages on ...

    Just delivered! Another minor miracle, as I'd already deleted it. :)

    {chuckle} got it ... thanks!

    --
    Guardien Fide :^)

    Ben aka cMech Web: http://cmech.dynip.com
    Email: fido4cmech(at)lusfiber.net
    Home page: http://cmech.dynip.com/homepage/
    WildCat! Board 24/7 +1-337-984-4794 any BAUD 8,N,1

    --- GoldED+/W32-MSVC
    * Origin: FIDONet - The Positronium Repository (1:393/68)