Last active
October 19, 2020 13:35
-
-
Save rinjugatla/cfea9350c63cc2ee6f6193ac53967791 to your computer and use it in GitHub Desktop.
Craftopiaのセーブデータをお手軽にバックアップするbatファイル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set time2=%time: =0% | |
::設定例 | |
::xcopy "C:\Users\%USERNAME%\AppData\LocalLow\PocketPair\Craftopia\Save" "%USERPROFILE%\Desktop\Craftopia\Save%date:~0,4%%date:~5,2%%date:~8,2%_%time2:~0,2%%time2:~3,2%" /I /E /H /C | |
::xcopy "保存元" "保存先 %date:~0,4%%date:~5,2%%date:~8,2%_%time2:~0,2%%time2:~3,2%" /I /E /H /C | |
:: | |
::実行した場合の保存例(日時2020年10月19日22時00分) | |
::C:\Users\hoge\Desktop\Craftopia\Save20201019_2200 | |
::上記アドレスにNew World-フォルダ内すべてのフォルダ・ファイルがコピーされる | |
:: | |
::備考 | |
::%date:~0,4%%date:~5,2%%date:~8,2%_%time2:~0,2%%time2:~3,2% は日時や時間を追加するための変数 | |
:: | |
xcopy "C:\Users\%USERNAME%\AppData\LocalLow\PocketPair\Craftopia\Save" "%USERPROFILE%\Desktop\Craftopia\Save%date:~0,4%%date:~5,2%%date:~8,2%_%time2:~0,2%%time2:~3,2%" /I /E /H /C |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment