Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 42,068 of 42,547    |
|    JJ to Homer Wilson Smith    |
|    Re: Win98 DOS name a file with the date.    |
|    07 Oct 22 05:19:59    |
      From: jj4public@outlook.com              On Thu, 6 Oct 2022 02:44:50 -0400 (EDT), Homer Wilson Smith wrote:       > Running Win98 4.10.2222 DOS 5.x or 6.x batch scripts       >       > Need to write a file or directory with the date.       >       > echo %date% does not work as it does in future windows.       >       > Is there a batch script command that will do this for me?       >       > Thanks Homer W Smith (Lightlink CEO.)              The %DATE% variable is an internal variable which is provided by CMD.EXE.       CMD.EXE does not exist in Windows 9x/ME. It only exist in NT based Windows,       and it can't run under Windows 9x/ME.              For Windows 9x/ME, without downloading additional software, the alternative       method is to use Windows Script Host (WSH) with either VBScript or JScript.              With additional software download, my recommendation is to use the open       source 4DOS (formerly a JPSoft's proprietary software). 4DOS is a       replacement for COMMAND.COM and has CMD capabilities (and more). It's 99%       compatible with CMD.EXE and COMMAND.COM.              https://www.4dos.info/              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca