Change Configuration Path

Hello Support,
is it possible to change the default configuration paths from DO?

%APPDATA%\GPSoftware\Directory Opus
%LOCALAPPDATA%\GPSoftware\Directory Opus

On another drive, we use a git repository to synchronize settings from multiple software. If DO can search there for the settings, we can easly define default settings for all users.

Thanks for help

You can use junctions or softlinks to redirect the paths.

Hello Leo,
thank you for your reply.
Can you explain me how to do this?
Thank you

I have a bat file lying around like this that I used to use with the Mark Russinovich tool junction.exe (though it could be adapted with the newer mklink.exe as well). Please test and make a copy of your data before you use it.

attrib -s -h "D:\Settings\Dopus\SettingsUser"
attrib -s -h "D:\Settings\Dopus\SettingsAll"
rmdir /s /q "D:\Settings\Dopus\SettingsUser"
rmdir /s /q "D:\Settings\Dopus\SettingsAll"
mkdir "D:\Settings\Dopus\SettingsUser"
mkdir "D:\Settings\Dopus\SettingsAll"

xcopy /E /H "%LOCALAPPDATA%\GPSoftware\Directory Opus" "D:\Settings\Dopus\SettingsUser"
xcopy /E /H "%APPDATA%\GPSoftware\Directory Opus" "D:\Settings\Dopus\SettingsAll"

junction -d "%LOCALAPPDATA%\GPSoftware\Directory Opus"
junction -d "%APPDATA%\GPSoftware\Directory Opus"
attrib -s -h "%LOCALAPPDATA%\GPSoftware\Directory Opus"
attrib -s -h "%APPDATA%\GPSoftware\Directory Opus"
rmdir /s /q "%LOCALAPPDATA%\GPSoftware\Directory Opus"
rmdir /s /q "%APPDATA%\GPSoftware\Directory Opus"

junction "%LOCALAPPDATA%\GPSoftware\Directory Opus" "D:\Settings\Dopus\SettingsUser"
junction "%APPDATA%\GPSoftware\Directory Opus" "D:\Settings\Dopus\SettingsAll"
1 Like

Thank you very much. That solution worked for me and made a central deployment of the settings possibly.
Best Regards