cd "там где лежат файлы"
move file_4 file_tmp
if errorlevel 1 goto ErrorMove
move file_3 file_4
if errorlevel 1 goto ErrorMove
move file_2 file_3
if errorlevel 1 goto ErrorMove
move file_1 file_2
if errorlevel 1 goto ErrorMove
move file file_1
if errorlevel 1 goto ErrorMove
move file_tmp file
if errorlevel 1 goto ErrorMove
exit
:ErrorMove
... действия при ошибке перемещения....
__________________
Гениальная бездарность...
|