- SET ERRORLEVELIO
- for /F "useback tokens 1,2 delis in (mic es get LocalDateTime /VALUE 2L) do 11.LocalDateTime." set t
- set 1dtdt:-0,4%-lt-4,2%-ldt:-6,2%
- echo es
- echo ScriptStart dates tines
- for /F "useback tokens 1,2 delisin (mic path win32 localtine get dayofweek VALUE 2") do if ...Dayofweek.
- echo Ndayofwk
- REM***dayofw
- IF dayofw
- GOTO SKIP STOP
- is Sunday backup
- (GOTO WEEKLY TABSVC STOP)
- WEEKLY TABSVC STOP
- echo STOP tabsvc Sunday date in call to stop
- call tsa maintenance cleanup a
- call to start
- request-timeout 1800
- echo START tabsve Sunday dates Sties
- SKIP STOP
- set dayofw
Raw Paste