Preferences: Options: System Path(tab): User Files Folder: Change(Button)
Change the path of User Files Folder
Minimum Origin Version Required: 8.1 SR0
changeUFF path:="c:\My User Files" copy:=0;
Please refer to the page for additional option switches when accessing the x-function from script
Input
string
int
This X-Function is capable of changing the User Files Folder. Restarting Origin is needed before using the new User Files Folder. This X-Function allows you to copy all the files from the original User Files Folder to the new one. If you want to choose what files to be copied, you can uncheck the Copy All Files From Original check box and then restart Origin. After restarting , you can copy your files using Preference: Transfer User Files... from Origin main menu.
The following example shows how to change the User Files Folder and copy all the files in original folder to the new one at the same time.
Keywords:UFF