Bump myself up a bit, urgently need to solve~~~
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Originally posted by lililulula at 2007-4-9 14:59:
It's really like that when you mention it. I also looked at the script on floor 2 later and had this problem. My script also has this problem. However, the vbs script on floor 3 is okay. There is a built-in parameter called wekekday~~~~,看来考虑问题没考虑 ...
dim Wday,today
today=date
Wday=Weekday(now)
Select Case (Wday)
case 1 today=today+1
case 2 today=today+1
case 3 today=today+1
case 4 today=today+1
case 5 today=today+1
case 6 today=today+3
case 7 today=today+2
end select
WScript.echo CDate(today)@echo off
for /f "delims=" %%i in ('"cscript //nologo 下一个工作日.vbs"') do echo %%i
pause| Rater | Score | Time |
|---|---|---|
| lililulula | +2 | 2007-04-11 03:00 |