1. I have a small Win98 device, that was built without a clock battery. It does have a RTC, but modding a battery addition isn't straight forward.
2. This same device, thus far, can only boot Windows as a live memory disk. So I make portable applications for it. Recently this included a custom codec pack.
I can save the disk image after installing programs to another "physical" drive. So I don't have to use portable applications. But I am really starting to like running Windows this way. Maybe its just play?
I was hunting the web for something unrelated, and ended up on Horst Schaeffer's Site. I've seen alternatives, for both of these, a hand full of times. But thought I'd share them, this time around.
His "Timesync" can update the Windows clock, over the Internet. The /auto switch does so without loading the interface. Good for syncing at boot.
And "Inifile" is for working with.... .ini files. It adds and remove entries, or gets and outputs an entry. Certainly, something like this could be helpful in making a portable codec pack (SYSTEM.INI/[drivers32]). Maybe it seems simple and silly, but I love that the codecs are now portable. Inifile only does one entry at a time. So, it could be a little quicker. It'll work until I write my own.
He has a good chuck of software on his site. I noticed another tool for adding dialog boxes to batch. They look like the kinda tools you write, because you were learning to add these functions to some larger program(s). I ended up swiping a copy of everything, for my own toolbox.