How to make it from command prompt? (Computer)

How to open Date & Time and click Sync now from command prompt?

This command can open it directly, but not able to click the button

explorer.exe ms-settings:dateandtime

After open Date & Time section from settings using windows command prompt, i want to click the button called “Sync now” using the same command prompt or using java.

your question is so general, that it cannot be answered…

Please give a lot more detail about what you are doing and asking.

1 Like

I’m still clueless. What date and time, where?
(on your phone? On your computer? On a web-page? on your watch?)

do you see the problem?

1 Like

This can open Date & Time from cmd in computer

explorer.exe ms-settings:dateandtime

but need to click the sync button, do you know how?

1 Like

How to click button called “Sync now” from command prompt or with java code? (Computer-Windows10)

1 Like
1 Like