Applies To | |||
Product(s): | MicroStation | ||
Version(s): | 08.11.07.443 | ||
Environment: | N\A | ||
Area: | Configuration | ||
Subarea: | Workspaces | ||
Original Author: | Bentley Technical Support Group | ||
Location of folders defined in variables.
Description:
How to find a folder defined in a variable in an easy way.
Product: MicroStation V8i
Version: 08.11.07.443
Area: Configuration, Key in
Use Keyin:
$ % explorer $(variable)
In case of configuration problems, it sometimes is difficult to find the correct location of a folder.
With the above keyin, the folder location specified in a variable will be opened in a windows explorer window (for the current user/workspace).
Below are a few example key-ins that can be entered in MicroStation (Utilities>Keyin), to open a folder that is pointed to by a MicroStation variable:
To get to the folder with the active preferences (home folder for preferences .upf), key in:
$ % explorer $(_USTN_HOMEPREFS)
To get to the folder for the open workspace:
$ % explorer $(_USTN_WORKSPACEROOT)
To get to the folder that contains the dwg setting file (dwgsettings.rsc), key in:
$ % explorer $(MS_DWGDATA)
To get to the folder with the MicroStation temp files, key in:
$ % explorer $(MS_TMP)
To get to the folder with the Windows temporary files, key in:
$ % explorer $(TEMP)
To get to current the folder and highlight the active file:
$ % explorer /e, /select, $(_DGNFILE)
To get to the folder with the active user configuration file (.ucf):
$ % explorer $(_USTN_USER)
To get to the folder with the active interface file(s):
$ % explorer $(_USTN_USERINT)
To get to the open workspace's system folder:
$ % explorer $(_USTN_SYSTEMROOT)
To get to the folder for the output files:
$ % explorer $(_USTN_OUT)
As you can see, the only thing that changes is the variable name in between the round brackets.
Notes:
- The above only applies to variables that point a foldername.
- If the variable has multiple folders in its definition, the first folder that is listed will open.
- This keyin is operating system independent.
- Works for all platform products (tested in V8 2004, XM and V8i)
See also:
http://communities.bentley.com/communities/other_communities/askinga/w/askinga/open-windows-explorer-to-location-of-workspace-files.aspx