Backup Up TS4 Files Using a .BAT File

About This Tutorial

In this guide, I am going to walk you through how to create a .bat file to make backups of your important “The Sims 4” files.

Including Backing Up:
Saves
Tray Files
Screenshots

If you have any questions, feel free to ask and I will do my best to assist you.

So, let’s get started!​

Contact me on Discord for help!

Needed Programs

1. Open up “Notepad” or “Notepad ++”.

2. Next copy the following into your new document.

@echo off
:: variables
set drive=E:\Sims 4 Stuff\– BACKUPS –\BATCH Backup
set backupcmd=xcopy /s /c /d /e /h /i /r /y
echo ### Backing up Sims 4 Save Files…
%backupcmd% “%USERPROFILE%\Documents\Electronic Arts\The Sims 4\saves” “%drive%\Documents\Electronic Arts\The Sims 4\saves”
echo ### Backing up Sims 4 Tray Files…
%backupcmd% “%USERPROFILE%\Documents\Electronic Arts\The Sims 4\Tray” “%drive%\Documents\Electronic Arts\The Sims 4\Tray”
echo ### Backing up Sims 4 Screenshots…
%backupcmd% “%USERPROFILE%\Documents\Electronic Arts\The Sims 4\Screenshots” “%drive%\Documents\Electronic Arts\The Sims 4\Screenshots”
echo Backup Complete!
@pause

3. Change “E:\Sims 4 Stuff\– BACKUPS –\BATCH Backup” to the location you want your backups.

4. [*OPTIONAL] If you want to back up your “Mods” folder. Add the following under the last echo for screenshots:

echo ### Backing up Sims 4 Mods Folder…
%backupcmd% “%USERPROFILE%\Documents\Electronic Arts\The Sims 4\mods” “%drive%\Documents\Electronic Arts\The Sims 4\mods”

5. Go to “File” > “Save As” then name it something like “TS4Backup.bat” then change the “Save as File Type” to “All Files” (*See image)

[*NOTE: make sure to add the .bat to the end of the file name]

6. All done! Save it somewhere where you can use it each time you launch your game.

Subscribe

Just subscribe to my newsletter
to receive all fresh posts