Code: Select all
@TITLE Backer-upper
MODE CON: COLS=200 LINES=30
:loop
SET timestamp=%date:/=-%-%time::=-%
PING 1.1.1.1 -n 1 -w 1000 > NUL
XCOPY "world\*" "%~dp0\backups\worlds\world_backup_%timestamp%" /i /s
XCOPY "ops\*" "%~dp0\backups\lists\ops_%timestamp%" /s /c
goto loop
@pause
When I run it, the 'world' files copy perfectly, but the text file 'ops' doesn't. It shows the directories and then:
Code: Select all
File not found - *
0 File(s) copied
Please, please, please does anyone know what could be causing this? Is the problem here?
Thank you so, so, so much.