Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
MicroStation Wiki How to Map a Local Folder to a Drive
    • Sign In

    • -MicroStation Wiki
      • +Learning Tips
      • -MicroStation
        • +3D Printing - MicroStation
        • +Animation - MicroStation
        • +Archive / Backup - MicroStation
        • +Base Geometry - MicroStation
        • +Batch Processing - MicroStation
        • +CONNECT Advisor - MicroStation
        • CONNECT Integration - MicroStation
        • +CONNECTION Client
        • +Cells - MicroStation
        • +Change Tracking - MicroStation
        • -Configuration - MicroStation
          • +DGN Settings - Configuration - MicroStation
          • +General - Configuration - MicroStation
          • +User Preferences - Configuration - MicroStation
          • +Workmodes - Configuration - MicroStation
          • +WorkSet - Configuration - MicroStation
          • -Workspaces - Configuration - MicroStation
            • Assign Cell Selector file to Function key
            • Automatically Save Settings on Exit
            • Calling a web page through a customized menu or button
            • Can RF_DIR be defined using relative path(s)
            • Configuring variable for Spelling Language not working
            • CONNECT Edition - Custom Configuration Guides
            • Create a new User profile in MicroStation
            • Creating a Workspace "Live" Debug
            • Creating an if statement
            • DDE/OLE and Copy/Paste issues.
            • Default back to configured seed file.
            • Definition of USTN_DISPLAYALLCFGVARS configuration variable.
            • Delivered tools are missing
            • Dialog box's title bar is not visible/stuck.
            • Difference between the various preprocessor directives
            • Error message "Invalid Project Name" appears while project creation
            • File history isn't showing even after MS_FILEHISTORY=1 is set
            • Finding location of folders defined in variables.
            • How can a Resource File (.rsc) be added to MicroStation?
            • How not to use a Project Configuration File (PCF)
            • How to add full path of the design file in MS title bar.
            • How to be able to always have the same seed file used.
            • How to change unused library levels
            • How to create additional WorkSet properties for use as Text Fields
            • How to create Role configuration
            • How to Customize Mouse Buttons and Keep Them That Way
            • How to define a variable using a key in
            • How to disable Customizations loading from DGNLIB
            • How to disable Customizations loading from USTN.M01
            • How to disable dialog "You have unsaved changes, would you like to save it now?"
            • How to disable MS_V7AUTOSAVE and MS_V7AUTOSAVE_NODIALOG
            • How to disable Reference Activate option from the context menu?
            • How to disable the ability to place a Graphic Cell
            • How To Display Classic Toolbars In MicroStation CONNECT Edition
            • How to dock pallets up next to the main menu bar so that space can be utililized.
            • How to find the active Workspace location
            • How to have the "untitled design" be open/created in a default directory
            • How to load a Function Key Menu and have it hold
            • How to lock a configuration variable
            • How to Map a Local Folder to a Drive
            • How to Network MicroStation CONNECT configuration after MSCE has already been installed.
            • How to Quickly Point MicroStation to a Custom or Networked Workspace
            • How to remove the ability to create WorkSpaces and WorkSets from the User Interface
            • How to set the variable MS_DWG_VPORT_LAYER_FROM_CLIP
            • If the MS_DEFCTBL variable is undefined which color table is used by default?
            • Importing custom Luxology settings
            • Input ALT+Data is not placing a 3D Data
            • Is there a seed file for PCFs?
            • Launch Web Browser
            • Locking multiple configuration variables.
            • Made a change to the Mslocal.cfg file now getting an error
            • MDE workspace and interface in V8 and higher
            • MicroStation Manager and other file open dialogs look different and more like windows dialogs
            • MicroStation MSDebug File
            • MicroStation's Workspace default location
            • Migrating MicroStation J workspace to MicroStation V8
            • Missing WorkSpaces/WorkSets from main Work Page
            • MS_BACKUP defaults now to the out directory
            • MS_DETAILINGSYMBOLS_CELLLIST no effect when set
            • MS_DWGSAVEAPPLICATIONDATA=1 does not work for MS XM
            • MS_OPENV7 variable overwritten if defined in msconfig.cfg
            • MS_RFDIR character limitations
            • Open DGN file in a specific WorkSpace, WorkSet
            • Path does not exist when selecting another project.
            • Project file set up to show files in MicroStation Manager
            • Project template not found
            • Semicolon between words not seen
            • Setting tool settings for a custom tool
            • Setting Up the MicroStation CONNECT Workspace on a Network.
            • Sometimes a 2nd data point is placed.
            • The difference between the Workspace System and Standards directory
            • Tool, Task or Templates with same name in different dgnlib's
            • UCF files to be saved on the network automatically
            • Unable to create file where name has the extension .*.
            • Unable to remap mouse buttons
            • Units.def is not being picked up
            • Use the same Workspace for V8i versions SS2, SS3 and SS4
            • Using back slashes or forward slashes in UNC paths.
            • Using the variable MS_WORKSPACEOPTS
            • Variables for controlling change to commit to when saving or closing a file
            • When initiating a customize tool an error occurs with an ID conflict.
            • When launching MicroStation receiving an error that the UCF is not found
            • When setting up MS_DEF in a project configuration, diretory doubled.
        • +Coordinate Systems - MicroStation
        • +Curves - MicroStation
        • +Custom Linestyles - MicroStation
        • +DGN - MicroStation
        • +DWG - MicroStation
        • +Database - MicroStation
        • +Detailing Symbols - MicroStation
        • +Dimensions - MicroStation
        • +Documentation & Help - MicroStation
        • +Drawing Aids - MicroStation
        • +Exception - MicroStation
        • +FAQ - MicroStation
        • +Feature Based Solids Modeling - MicroStation
        • +File Access - MicroStation
        • +GUI - MicroStation
        • +General - MicroStation
        • +Graphics Display - MicroStation
        • +Groups - MicroStation
        • +Hardware / Input Devices - MicroStation
        • +Import/Export - MicroStation
        • +Installation - MicroStation
        • +Interchange - MicroStation
        • +Interference - MicroStation
        • +Internationalization - MicroStation
        • +Levels - MicroStation
        • +Licensing - MicroStation
        • +Manipulation - MicroStation
        • +Markup / Redline - MicroStation
        • +Measure - MicroStation
        • +Mesh - MicroStation
        • +Models - MicroStation
        • +Multi-Lines - MicroStation
        • +OLE - MicroStation
        • +Other - MicroStation
        • +Parametrics - MicroStation
        • +Patterning - MicroStation
        • +Point Cloud - MicroStation
        • +Printing - MicroStation
        • +Programming - MicroStation
        • +Project Navigation - MicroStation
        • +Properties - MicroStation
        • +RSS Feeds - MicroStation
        • +Reference - MicroStation
        • +Security - MicroStation
        • +Selection - MicroStation
        • +Settings - MicroStation
        • +Sheet Composition - MicroStation
        • +Solids - MicroStation
        • +Standards - MicroStation
        • +Surfaces - MicroStation
        • +Tables - MicroStation
        • +Text - MicroStation
        • +UI Customization - MicroStation
        • +Units - MicroStation
        • +View - MicroStation
        • +Visualization - MicroStation
        • Welcome Page - MicroStation
        • +Accreditation - MicroStation
        • +i.Models - MicroStation
        • +ProjectWise Integration
        • +Raster - MicroStation
    • +Administration Wiki
    • +Annotations Wiki
    • +Bentley View Wiki
    • +MicroStation PowerDraft
    • +Programming Wiki
    • +Visualization Wiki

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

    How to Map a Local Folder to a Drive

       
      Applies To 
       
      Product(s): MicroStation
      Version(s): 08.11.09.292
      Environment:  Windows
      Area:  Configuration
      Subarea:  General
      Original Author: Marco Salino, Bentley Technical Support Group
       

     

     

     

     

     

     

     

    Background

    Sometimes it may be required to map a local folder to a drive. This could be necessary, for example, if you want to replicate on your home PC the same folder structure that you have on your work network.

    Steps to Accomplish

    Let's say for example that in work all the reference files for your project are stored in:

    X:\All Projects\References\

    Where "X" is a local mapping to a shared folder on a server, e.g. \\server01\CAD\Files\

    What you want to achieve is to have a copy of the above folder on your home PC so that, should you have to work on a DGN file at home, Microstation will be able to resolve all references, without having to define MS_RFDIR variable and if relative path isn’t working.

    So you want to reproduce at home the same folder structure that you have in work but without having to set shared folders on a server, you want to keep everything local let's say on your laptop.

    In order to do so you can copy the folder "X:\All Projects\References\" and all its content to one of your local drives on your home PC (e.g. "D"), creating an extra folder level:

    D:\WorkFiles\All Projects\References\

    Then, you can run the following command from an Elevated Dos Prompt (cmd.exe)

    subst X: D:\WorkFiles

    This will map D:\WorkFiles as a drive "X" in your Computer, so that all references "X:\All Projects\References\" path (originally:  \\server01\CAD\Files\All Projects\References\) will be resolved to your local copy of the data stored in "D:\WorkFiles\All Projects\References\"

    The above is only on example of an application for this trick, which can be very useful whenever there is a need to replicate a folder structure on two different environment.

    Windows 8/8.1

    In Windows 8 ensure that the subst command is run in a normal Command prompt window. If it is run at an Administrator Command Prompt the substitute drive letter will be created but will not be visible to the user's security context.

    Persistent subst mapping?

    Mapping does not persist across reboots.  The subst command can be used to persistently map the local folder using batch files or logon scripts. Various examples of this can be found online.

    See Also

     

    • GENERAL
    • MicroStation
    • Mapping
    • folder
    • how to
    • referencesHow To
    • referencesHow
    • SELECTsupport
    • Configuration
    • Share
    • History
    • More
    • Cancel
    • Marco Salino Created by Marco Salino
    • When: Thu, Sep 5 2013 10:18 AM
    • Marc Thomas Last revision by Bentley Colleague Marc Thomas
    • When: Tue, Apr 1 2014 5:25 AM
    • Revisions: 4
    • Comments: 0
    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

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