How to Change System Date with Winbatch
Keywords: system date
Question:
I need to change the system date using WinBatch. I have tried something like:newdate = "01/08/98" RunWait(Environment("COMSPEC"),"/c date %newdate%")using DOS, but this is not dependable because the DOS window hangs on my Windows 95. This does seem to work pretty good with Win 3.1 though.Answer:
See the function IntControl(58...), to set the system time.
Article ID: W13136Filename: Change System Date.txt