Edu*_*scu 37 windows timezone command-line wsh batch-file
如何在命令行或批处理文件中设置Windows中的时区?
我需要使用powershell或cscript吗?
Ion*_*zău 67
可帮助您更改Windows 7中的时区的命令行实用程序tzutil.exe称为Windows时区实用程序.对于喜欢在命令提示符下工作的所有人来说,这是一个很棒的工具.
使用/s参数设置时区:
tzutil /s "universal standard time"
Run Code Online (Sandbox Code Playgroud)
使用/g参数获取时区:
tzutil /g
Run Code Online (Sandbox Code Playgroud)
使用该/l参数列出有效时区.
tzutil /l
Run Code Online (Sandbox Code Playgroud)