Gray Wolf
Active member
Here's a batch file to backup Studio One settings, any version. It copies settings to \Documents\Studio One Settings Backups, although you can edit that to point it anywhere else if you want. Run it, enter the version number when prompted, hit Enter and go back to doing whatever you were doing while it makes the backup.
Might be handy for those without access to Studio One+ backup. Copy and paste the text into Notepad or any text editor and save it as a *.bat file.
@echo off
rem Prompt for the version number
set /p version=Enter the PreSonus Studio One version number:
rem Get the current date and time using wmic (format: YYYYMMDDhhmmss)
for /f "tokens=2 delims==" %%I in ('wmic os get localdatetime /value') do set datetime=%%I
rem Extract the components of the datetime
set year=%datetime:~0,4%
set month=%datetime:~4,2%
set day=%datetime:~6,2%
set hour=%datetime:~8,2%
set min=%datetime:~10,2%
set sec=%datetime:~12,2%
rem Set the base source path and dynamically build the source path using the version number
set source="C:\Users\%username%\AppData\Roaming\PreSonus\Studio One %version%"
rem Define the base destination folder path
set destination="C:\Users\%username%\Documents\Studio One Settings Backups\Studio One %version% - %month%_%day%_%year%_%hour%_%min%_%sec%"
rem Create the destination folder if it does not exist
if not exist %destination% mkdir %destination%
rem Use robocopy to copy files and directories, including all subdirectories
robocopy %source% %destination% /E /Z /XA:H /R:3 /W:5 /V
echo Backup completed!
pause
Might be handy for those without access to Studio One+ backup. Copy and paste the text into Notepad or any text editor and save it as a *.bat file.
@echo off
rem Prompt for the version number
set /p version=Enter the PreSonus Studio One version number:
rem Get the current date and time using wmic (format: YYYYMMDDhhmmss)
for /f "tokens=2 delims==" %%I in ('wmic os get localdatetime /value') do set datetime=%%I
rem Extract the components of the datetime
set year=%datetime:~0,4%
set month=%datetime:~4,2%
set day=%datetime:~6,2%
set hour=%datetime:~8,2%
set min=%datetime:~10,2%
set sec=%datetime:~12,2%
rem Set the base source path and dynamically build the source path using the version number
set source="C:\Users\%username%\AppData\Roaming\PreSonus\Studio One %version%"
rem Define the base destination folder path
set destination="C:\Users\%username%\Documents\Studio One Settings Backups\Studio One %version% - %month%_%day%_%year%_%hour%_%min%_%sec%"
rem Create the destination folder if it does not exist
if not exist %destination% mkdir %destination%
rem Use robocopy to copy files and directories, including all subdirectories
robocopy %source% %destination% /E /Z /XA:H /R:3 /W:5 /V
echo Backup completed!
pause