Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
MicroStation
  • Product Communities
  • More
MicroStation
MicroStation Wiki MicroStation Command Line Options And Switches
    • Sign in

    • +MicroStation Wiki
    • -Administration Wiki
      • Adding "Display Style List" to custom Toolbox
      • +Administration - Legacy Content
      • Answers for the Levelly Challenged
      • Batch Convert Utility
      • Bentley Tablet Driver And CalComp DrawingBoard
      • Bypassing Port Problems In Windows 2000 And Windows XP
      • Cannot find survey ft option in Design File Settings > Units
      • Configuration Variable Processing
      • Configuration Variables In MicroStation V8
      • Creating Tool Icons
      • Customize item missing from Workspace menu
      • Customize Toolbox - Tool opens new Toolbox
      • DGN file association in Windows 10 (MicroStation Does not appear in list)
      • DGN Index Service - How to set up
      • DGN Index Service Setup ended prematurely – error 1603
      • Enabling Lock Pages In Memory Under Windows 7 and Vista
      • Error - Cannot locate a default SHX font. Please install msdefault.shx
      • Error - Unable to load/create dialog item of type 'IconCmd', id
      • Error 1402. Could not open key
      • Error 1603 during install
      • Error 1610 during install
      • Error 1625 during install
      • Error message when starting MicroStation, "ucf not found"
      • File Associations
      • File Correction and Audit Tools
      • Getting Started With The Standards Checker
      • Haven't Upgraded To The MicroStation V8 Format Yet
      • How to Back Up and Restore User Preferences
      • How to Copy User Preferences and User Configuration Files to a new or different PC
      • How to quickly add a number of folders to Microstation's reference files search paths
      • How To Reset User Preferences and Delete MicroStation's Temporary Files
      • Installing MicroStation V8 XM Edition silently
      • Installing MicroStation V8i (SELECTseries 3) Without an Internet Connection
      • Installing MicroStation V8i silently
      • Is there any easy way to determine key-ins or variable names?
      • Key-in command to define different pattern setting options
      • Keyin to encrypt dgn files
      • MicroStation - Creating a Custom Colour Book
      • MicroStation Command Line Options And Switches
      • MicroStation Failed to Start
      • MicroStation file access issues with shared network drives
      • MicroStation Memory Management
      • +MicroStation V8i Variables
      • MicroStation Virtualization FAQ
      • Migrating Customizations to MS V8i
      • Migrating Customizations to MS XM
      • MSDebug File
      • MSXML Issue
      • Networking Workspaces
      • Networking Workspaces the easy way
      • New Variables
      • Overriding And Resynchronizing Level Attributes
      • Restore MicroStation to Factory defaults
      • Script error during MicroStation Installation
      • Serving Up Efficiency
      • Sharing Your Workspace
      • System Fault 5 MDL abort in DITEMS
      • The Power Of The Workspace
      • To also see hidden Config-Variables
      • Unable to connect to an Oracle Database
      • Understanding File Locations And Reference Attachments In MicroStation
      • Updating To MicroStation V8 Format
      • Upgrading From 08.09.02.52 To 08.09.02.77
      • Windows Explorer ProgramData folder
      • Workmodes DGN/DWG
      • Workspaces on the Network
    • +Annotations Wiki
    • +Bentley View Wiki
    • +MicroStation PowerDraft
    • +Programming Wiki
    • +Visualization Wiki

     
     Questions about this article, topic, or product? Click here. 

    MicroStation Command Line Options And Switches

      Product: MicroStation
      Version: V8, XM, V8i, CONNECT
      Environment: N\A
      Area: Administration
      Subarea: N\A

    Command Line Parameters

    The easiest and most reliable way to determine which command line parameters are supported in the version of Bentley desktop product you are using is the following:

    1. From the Windows "Run" command window
      • Choose Start > Run from the Windows taskbar.
      • In the Open field, enter the full path specification of the executable file for the respective product you want to see the command line parameters for.
      • Add a space and then /help or -help or -? or /?
      • Press <Enter>
      • You should get a DOS window with the command line parameters supported in that product release.
      • Press <Esc> when you are finished.

      or

    2. Temporarily change the shortcut icon for the product you want to see the command line parameters for:
      • Right click on the product shortcut and select Properties.
      • Add /help or -help or -? or /? to the end of the Target command line.
      • Click Apply (do not click OK).
      • Double click the respective icon from your desktop.
      • You should get a DOS window with the command line parameters supported in that product.
      • Press <Esc> when you are finished.
      • Remove what you added to the end of the Target line, then click OK.

    Below is a list of some of the command line parameters that are available:

    Command Line Parameter Result
    -debugfileopen Dumps configuration variables to msdebug.txt and exits. In MicroStation V8i SELECTseries 3, use DEBUGFILEOPEN to automatically open msdebug.txt.
    -help or -? Displays Command line arguments for Ustation.exe.
    -I<parameters> Passes through parameters to INITAPPS.
    -M<model> Specifies initial model to open.
    -O Does not open any references.
    -QP <password> Specifies password for protected file.
    -R Opens the design file in read-only mode.
    -RestoreDefaults Restore default settings and then exit.
    -RestoreDefaultsQuiet Restore default settings and then exit. No output.
    -S<startup_file> Dumps text in the startup file into the command queue after startup.   User Preference Execute Startup Script must be engaged.
    -WA<mdl_application> Specifies MDL application to start at MicroStation initialization (same as MS_INITAPP).
    -WC<path_to_configuration_file> Specifies the configuration file MicroStation will use on startup (for example, -wcC:\Bentley\Workspace\Config\myconfig.cfg).
    -WD<database> Specifies database configuration.
    -WI<interface> Specifies interface configuration.
    -WP<project> Specifies project configuration.
    -WS<configuration_variable> Specifies a configuration variable to be defined (for example, -wsMS_SECURITY_LEVEL=HIGH).
    -WU<user> Specifies user configuration.
    -WR<path> Specifies _USTN_WORKSPACEROOT (for example, -wrC:\Bentley\Workspace\).

     

    The following command line parameters are not supported in MicroStation V8:

    Command Line Parameter Result
    -A<application name> Starts the MicroCSL application specified by the application name parameter during the startup of MicroStation. Multiple -a options can be used.
    -C<cache limit> Specifies the cache limit in KB
    -DISPLAY<display name> X Windows ONLY - Directs output to the X Windows display device indicated by display name
    -MICROCSL<mcsl application name> Starts the MicroCSL application specified as an offline MicroCSL application. (DOS Protected Mode Only)
    -Q UNIX ONLY - Enables the command in MicroStation "!" (Exclamation point) which creates a new Shell. This will override the setting in the workspace>configuration>operation>escape_to_O.S. menu.
    -U<undo buffer size>

    Specifies the undo buffer size in bytes

    The following command line parameters are applicable to MicroStation CONNECT Edition

    -WK<workspace>

    Specifies the initial WorkSpace. If a WorkSpace is specified, a child WorkSet should also be specified using -WW<workset>.

    -WW<workset>

    Specifies the initial WorkSet. If WorkSet is specified, its parent WorkSpace must also be specified using -WK<workspace>.

    See Also

    Other language sources:

    Deutsch , Francais

    • MicroStation V8
    • parameters
    • execute startup script
    • Command Line
    • Configuration
    • Share
    • History
    • More
    • Cancel
    • Dan Koval Created by Bentley Colleague Dan Koval
    • When: Fri, Sep 6 2013 1:45 PM
    • Andrew Bell Last revision by Bentley Colleague Andrew Bell
    • When: Mon, May 2 2022 12:59 AM
    • Revisions: 11
    • Comments: 3
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2021 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies