- Export the profile using BricsCAD Profile Manager
- Edit the resulting .ARG file with a text editor. There will be settings which the editor may want to remove in order to rely on whatever the program uses as default values. Paths usually need separat attention because they contain machine-specific data . These paths should not be hardcoded but refer to environment variables instead. These are in a format like this: %ENVIRONMENTVARIABLE% or %ENVIRONMENTVARIABLE%/subfolder. When the program closes and writes the settings to registry it will automatically substitute hardcoded paths partially or completely to environment variables where it can, saving the user work but the editor still needs to verify the result.
%HOMEDRIVE% = C:
%HOMEPATH% = \Users\[myName]
%ProgramFiles% = C:\Program Files
%USERPROFILE% = C:\Users\[myName]
%APPDATA% = C:\Users\[myName]\AppData\Roaming
- replace "C:\\Program Files" by "%ProgramFiles%\\..."
- replace "C:\\Users\[myName]" by "%USERPROFILE%\\..."
- replace "C:\\Users\[myName]\\AppData\\Roaming" by "%APPDATA%\\..."
On Linux or Mac:
$HOME = /home/[myName]
$PWD = /home/[myName]/Desktop
$USER of $LOGNAME = [myName]
When starting BricsCAD with this profile on a target computer, the environment variables will be interpreted as the absolute paths on that computer.
How to make a user profile that is portable to other computers and other users.
- On Windows, the %ProgramFiles% replacement above will only work if all people have installed BricsCAD in the same location.
- If you know that all machines have the same mapped drive letter for a shared network folder, you can of course leave this in the profile.
- If you can create environment variables on all machines, you can also use your own variables.
- Names of defined environment variables, user profile and application data paths can vary between platforms and versions. On Windows, to find out which variables are available, type 'set' in a command line window.
See also: User profile manager.