如何使用批处理文件更改Windows日历年份 [英] How Do I Change Year Of Windows Calendar Using Batch File
本文介绍了如何使用批处理文件更改Windows日历年份的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想改变年份的calander并运行特定程序并在程序结束后更改年份
我如何在批处理文件或powershell脚本中执行此操作
--- -------------------
i为Powershell找到解决方案
I want to change year of calander and run Specific program and change year after program finish
How can i do this in batch file or powershell script
----------------------
i find solution for Powershell
Set-Date (Get-Date).AddYears(2)
但我也希望在Windows命令提示符下执行此操作
but also i want to do this in Windows Command Prompt
推荐答案
日历仅反映系统的日期和时间 - 更改您更改日历...
http://technet.microsoft.com/en-us/library/ee176960.aspx [ ^ ]
The calendar is only reflecting the date and time of the system - change that you change the calendar...
http://technet.microsoft.com/en-us/library/ee176960.aspx[^]
这篇关于如何使用批处理文件更改Windows日历年份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文