🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15140

Reset a Windows system clock ?

#15140
From: Jason Singer
Date: Wed, 30 Jun 1999 00:00
11 lines
794 bytes
I nedd to be able to reset a Windows system clock direct from Java code. I
am presently able to do it using a Runtime exec command:

        Process p1 = rt.exec("tmp123.bat");

where the bat file has a time command in it.

I would like to be able to do from direct java statements. Can anyone help?

Thanks
Gary Klein
Technical Details
Message-ID: <7lihbc$3965@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,9b630580e4ee913,start
X-Google-Attributes: gidf74b3,public
From: "Jason Singer" <jintsjason@worldnet.att.net>
Subject: Reset a Windows system clock ?
Date: 1999/06/30
Message-ID: <7lihbc$3965@forums.borland.com>
X-Deja-AN: 496426191
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.language