Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
很抱歉这个新手问题,但我试图寻找答案,但我找不到一个很好解释的例子。
谁能告诉我如何添加 7 天将它放在今天的变量上 7
REM get current date set today=%date:~10,4%-%date:~4,2%-%date:~-7,2% Rem add 7 days to variable today set today7=today+7 days
也许这会对你有所帮助。(谷歌可以成为你的朋友)