Made a little program to print the system’s uptime on DOS, OS/2, and Windows NT:

https://movq.de/git/retrouptime/

(Release pending.)

This was pretty easy to do on Windows, a bit harder on OS/2 (because documentation is scarce), and quite the mess on DOS. DOS doesn’t explicitly keep track of the system’s uptime, so you have to resort to tricks like “give me the mtime of stdin”, which probably works … Yeah.

⤋ Read More

Participate

Login or Register to join in on this yarn.