> For a tool look at
> <https://www.bttr-software.de/products/jhoffmann/#dosutils>:
> timestmp +JMD:HIS>>logfile.txt
>
> This will append, e.g., "20221223:172247" to logfile.txt.

If your only concern is this date/time thing, a utility like TIMESTMP will work 
perfectly.

If you're interested in learning something that will help you more in the "long 
term", you may want to experiment with something like SED (or AWK or ...) as a 
way to manipulate text files, or "whipping up" a custom executable file in ASM 
or Basic or C or whatever.

Those are useful learning experiences to have in your tool bag for "special" 
situations where an off-the-shelf solution isn't available.


_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to