echo off cd dat\original IF NOT EXIST ..\..\..\GameDataFolder ( echo Can't find GameDataFolder! echo Make sure this is Oni\nikanabo ) ELSE ( echo GameDataFolder detected! IF EXIST backupok.txt ( echo Game content already backed up. ) ELSE ( echo Backing up game content... copy ..\..\..\GameDataFolder\*.dat . copy ..\..\..\GameDataFolder\*.raw . copy ..\..\..\GameDataFolder\*.sep . echo Game content backup complete. move nobackup.txt backupok.txt ) ) cd ..\.. cd bsl\mybackup IF NOT EXIST ..\..\..\GameDataFolder\IGMD ( echo Can't find IGMD folder! echo Make sure this is Oni\nikanabo ) ELSE ( echo IGMD folder detected! IF EXIST backupok.txt ( echo Level logic already backed up. ) ELSE ( echo Backing up level logic... xcopy ..\..\..\GameDataFolder\IGMD IGMD /s /k /i echo Level logic backup complete. move nobackup.txt backupok.txt ) ) cd ..\.. PAUSE