中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-23 16:50
47,812 topics / 349,917 posts / today 0 new / 48,274 members
DOS批处理 & 脚本技术(批处理室) » Question about a date issue
Printable Version  990 / 1
Floor1 lovecissi Posted 2006-05-28 16:07
初级用户 Posts 8 Credits 40
If I use set dd=%date:~0,4%%date:~5,2% to represent the current month 200605
If I want the variable dd to represent last month, how should I write it?
Floor2 kcdsw Posted 2006-05-28 17:30
中级用户 Posts 179 Credits 404
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023