Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- SetLocal EnableDelayedExpansion
- set ys=11
- set ye=12
- set /a nme=9
- set jan=Jan
- pause
- if %ys% NEQ %ye% (
- echo in if
- pause
- set /a mdiff=nme-1
- if %mdiff% LEQ 9 (
- for /l %%B in (1,1,%mdiff%) do (
- for /1 %%C in (1,1,31) do (
- if %%B EQU 1 (
- set monthe=Jan
- echo !monthe!
- )
- if %%B EQU 2 (
- set monthe=Feb
- echo !monthe!
- )
- REM xcopy "C:\Tests\conversion\Data.%ye%\Month.%monthe%\Day.0%%C"
- )
- )
- )
- )
- echo %monthe%
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement