On Sat, Dec 24, 2022 at 2:12 AM M. Osman Talayman <talay...@gmail.com> wrote: > > Thank you all for your suggestions. > > I will definitely look into 4dos. I will not use its specific date and > time functions as that will tie me to it. However, it is interesting > in itself. Is it used a lot amongst FreeDos users? > I guess I was too focused on doing everything from a batch file. I > should, of course, have look into doing it using some of the other > tools suggested like AWD, SED etc. > The suggestion for using struct dosdate_t dt; and struct dostime_t tm; > as suggested by Jim Hall, works perfectly and it allows me to format > the date and time any way I want. Also it is simple. > The amount of data that will go into my log files is minimal. It is > just for me to keep track of what happens when I run certain batch > jobs that I will write eventually (I'm just getting started with > FreeDos). >
Sounds like you're familiar with compiling, but for anyone who wants to see a "follow along" tutorial, here's a video I posted to the YouTube channel about this: "How to make a timestamp in DOS" https://www.youtube.com/watch?v=XApjTuu9Xg4 _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user