Hi ToxMox,
as i translated all batch to german and also made it fit to my system it would not be helpful to post the batch again ;-)
But i found the problem!
You should use
Code:
:BAKLOOP
set /A numbakless=%numbak%-1
if %numbak%==1 GOTO COPYWIZ
if exist wiz.bak.%numbakless% move /y wiz.bak.%numbakless% wiz.bak.%numbak%
set /A numbak=%numbak%-1
GOTO BAKLOOP
instead of
Code:
:BAKLOOP
set /A numbakless=%numbak%-1
if %numbak%==1 GOTO COPYWIZ
move /y wiz.bak.%numbakless% wiz.bak.%numbak%
set /A numbak=%numbak%-1
GOTO BAKLOOP
so there is no error displayed when some wiz.bak.x are not aviable for moving!
regards
paul