SET god=2005
CHDIR I:
cd \DataNew\%god%\
for /L %%a in (10 1 12) do (
echo %%a
if exist \DataNew\%god%\%%a (
cd \DataNew\%god%\%%a

for /L %%b in (1 1 9) do (
if exist I:\DataNew\%god%\%%a\0%%b (
cd I:\DataNew\%god%\%%a\0%%b
@echo %%a %%b
if exist *.dat (
2q.bat %god% %%a 0%%b
)
for /D %%c in (sun*) do (
cd I:\DataNew\%god%\%%a\0%%b\%%c
2q.bat %god% %%a 0%%b
)
)
)
for /L %%b in (1 1 9) do (
if exist I:\DataNew\%god%\%%a\0%%b (
cd I:\DataNew\%god%\%%a\0%%b
for /D %%c in (calibr*) do (
cd I:\DataNew\%god%\%%a\0%%b\%%c
2q.bat %god% %%a 0%%b
)
)
)
for /L %%b in (10 1 30) do (
if exist I:\DataNew\%god%\%%a\%%b (
cd I:\DataNew\%god%\%%a\%%b
@echo %%a %%b
if exist *.dat (
2q.bat %god% %%a %%b
)
)
)
)
)



