I haven't found it for a long time. I also found the keyword DOS to modify the system time.
In Linux, The hwclock command is used to write the modification time to the motherboard chip.
For some reason, I want to automatically modify the system time, so the software used to modify the system time in Windows cannot be found.
There is an Italian Day to prohibit the modification of the system time development kit (system time protection component) 1.0.0.1, You can prohibit the modification of the system time, it looks very good, standby.
In fact, the command for changing the time in Windows 7/xp cmd is:
C: \ Users \ angle> date /?Display or set a date. Date [/T |DATE] displays the current date settings and prompts for entering a new date. Enter a date without parameters. To retain the existing date, press Enter. If the command extension is enabled, the date command supports/T switch; this switch indicates that the command outputs only the current date, but does not prompt to enter a new date. C: \ Users \ Angle> Time /?Displays or sets the system time. Time [/T |Time] displays the current time settings and prompts for entering a new time. Enter a time without parameters. To retain the existing time, press Enter. If the command extension is enabled, the Time Command supports/T command line switch. This command line switch tells the command to output only the current time, but does not prompt to enter a new time.
You can modify the time by writing a batch processing script. The administrator privilege is required for Windows 7.
@ Echo OffEcho======================================EchoBefore changetime,TimeIs:Date/TTime/TEcho======================================EchoChangingTime2008-09-21 18:17:32Date2008-09-21Time18:17:32. 11Echo======================================EchoAfter changeTime,TimeIs:Date/TTime/Tping localhost> NUL
Example of finding another synchronization server time and then delaying the modification time
1. Use NetTimeSynchronization time2.Set the synchronization time to the variable wind_tm.3.The command delay is 6 seconds, and the time command is used to reset the local time to wind_tm. In this way, the local machine is 6 seconds slower than the remote host.Code:Net Time\ Time server name/Set/YesSetWind_tm = %Time:~ 0, 8%Start/MIN/w mshta VBScript: SetTimeout("Close ()", 6000)Time% Wind_tm %
Reprinted please indicate the source: http://www.cnblogs.com/ayanmw Thank you
Bytes ------------------------------------------------------------------------------------------------
Be professional! This blog is intended for ArcGIS development, C language, C ++ language, Java language, Android development, and a small amount of web development. It was previously developed for web development and is actually maintained by ASP, I found easyasp, a good framework, very friendly to front-end backend databases ..
I haven't found it for a long time. I also found the keyword DOS to modify the system time.
In Linux, The hwclock command is used to write the modification time to the motherboard chip.
For some reason, I want to automatically modify the system time, so the software used to modify the system time in Windows cannot be found.
There is an Italian Day to prohibit the modification of the system time development kit (system time protection component) 1.0.0.1, You can prohibit the modification of the system time, it looks very good, standby.
In fact, the command for changing the time in Windows 7/xp cmd is:
C: \ Users \ angle> date /?Display or set a date. Date [/T |DATE] displays the current date settings and prompts for entering a new date. Enter a date without parameters. To retain the existing date, press Enter. If the command extension is enabled, the date command supports/T switch; this switch indicates that the command outputs only the current date, but does not prompt to enter a new date. C: \ Users \ Angle> Time /?Displays or sets the system time. Time [/T |Time] displays the current time settings and prompts for entering a new time. Enter a time without parameters. To retain the existing time, press Enter. If the command extension is enabled, the Time Command supports/T command line switch. This command line switch tells the command to output only the current time, but does not prompt to enter a new time.
You can modify the time by writing a batch processing script. The administrator privilege is required for Windows 7.
@ Echo OffEcho======================================EchoBefore changetime,TimeIs:Date/TTime/TEcho======================================EchoChangingTime2008-09-21 18:17:32Date2008-09-21Time18:17:32. 11Echo======================================EchoAfter changeTime,TimeIs:Date/TTime/Tping localhost> NUL
Example of finding another synchronization server time and then delaying the modification time
1. Use NetTimeSynchronization time2.Set the synchronization time to the variable wind_tm.3.The command delay is 6 seconds, and the time command is used to reset the local time to wind_tm. In this way, the local machine is 6 seconds slower than the remote host. Code:Net Time\ Time server name/Set/YesSetWind_tm = %Time:~ 0, 8%Start/MIN/w mshta VBScript: SetTimeout("Close ()", 6000)Time% Wind_tm %