1:: Script for migrating saved games in Windows 2000/XP/Vista/7 2:: 3:: Put this batch file into the ScummVM directory 4:: This script will copy any saved games located in the 5:: old default location, to the new default location. 6:: 7:: (c) 2012-2020 ScummVM Team 8:: 9 10@echo off 11echo ScummVM Saved Games Migration Script 12echo The default location for saved games changed 13echo in Windows NT4/2000/XP/Vista/7 for ScummVM 1.5.0 14echo This script will copy any saved games stored in 15echo the old default location, to the new default location 16pause 17 18if defined APPDATA goto :test2 19echo. 20echo Unable to access the Application Data variable! 21pause 22goto :eof 23 24:test2 25if exist "%APPDATA%" goto :test3 26echo. 27echo Application Data directory doesn't exist! 28pause 29goto :eof 30 31:test3 32if exist "%APPDATA%\ScummVM\" goto :test4 33echo. 34echo ScummVM Application Data directory doesn't exist! 35pause 36goto :eof 37 38:test4 39if exist "%APPDATA%\ScummVM\Saved Games\" goto :copyfiles 40echo. 41echo ScummVM Saved Games directory doesn't exist! 42pause 43goto :eof 44 45:copyfiles 46echo Copying ScummVM Saved Games... 47xcopy /EXCLUDE:migration.txt /F /-Y * "%APPDATA%\ScummVM\Saved Games" 48 49echo. 50echo All saved games have been copied to the new location of "%APPDATA%\ScummVM\Saved Games" 51pause 52