The DSCACHE files are temporary files used during the sync process, they contain a copy of the Data Source Data and can be safely deleted.
The files are automatically deleted during the .NET Garbage Collection however sometimes they are left behind using up disk space.
If you want to move the file location that Data Sync uses to store it’s temporary cache files during the data load and compare you should create a System Environment Variable called DATASYNCCACHEPATH that points to the new file location.
The folder must exist and it should not be a network share.
To create a system environment variable you need to open the settings window and search for Advanced system settings
.
This will open the system properties window where you need to click onto the Environment Variables
button to open the window.
Now click onto New
under system variables.
Then type in the variable name DATASYNCCACHEPATH
and the path to the location you want the cache to be into the variable value field.
You then should log off and log back in for the environment variable to take effect. At a minimum you need to close Data Sync (and the Run Tool).