I
Ivan Bout
Hi all,
Does anyone know how to set the system time for windows?
I tried this command:
Process p = Runtime.getRuntime().exec("command /c time 00:00:00");
also tried:
Process p = Runtime.getRuntime().exec("time 00:00:00");
This works fine in cmd.exe but in my java program it won't set the time.
Thanks
Ivan
Does anyone know how to set the system time for windows?
I tried this command:
Process p = Runtime.getRuntime().exec("command /c time 00:00:00");
also tried:
Process p = Runtime.getRuntime().exec("time 00:00:00");
This works fine in cmd.exe but in my java program it won't set the time.
Thanks
Ivan