Create the MKIntools.cmd File - Intergraph Smart Instrumentation - Installation & Upgrade - Intergraph

Intergraph Smart Instrumentation Installation and Upgrade Guide

Language
English
Product
Intergraph Smart Instrumentation
Search by Category
Installation & Upgrade
Smart Instrumentation Version
2018 (12.0)

You need to create the MKIntools.cmd file, which calls the Rootdrv.cmd file to ensure the user has a home folder and also checks whether a copy of the Intools.ini file resides in the home folder. If not, it makes a copy of the Intools.ini file (which is located in the \SmartPlant\Instrumentation folder path and was earlier renamed to Intools.ini.orig), and places it in the user's home folder.

  1. In a plain text editor such as Notepad, create an empty file and name it MKIntools.cmd

  2. Copy the following script to MKIntools.cmd:

    @Echo Off Call RootDrv.Cmd If Not Exist "%RootDrive%\SmartPlant\Instrumentation" GoTo NoIn REM Otherwise show message REM Check if INI file is there :NoINI If Not Exist "%RootDrive%\ SmartPlant\Instrumentation\intools.ini" Copy "C:\SmartPlant\Instrumentation\intools.ini.orig" %RootDrive%\SmartPlant\Instrumentation\intools.ini GoTo ShowMsg REM echo There is no SmartPlant\Instrumentation sub-folder path in %HomeDrive%%HomePath% :NoIn REM echo INTOOLS sub-folders do not exist in %RootDrive% md %RootDrive%\SmartPlant\Instrumentation GoTo NoINI :ShowMsg MSG%USERNAME% /TIME:1 Your SmartPlant\Instrumentation sub-folder has been set to
    RootDrive%\SmartPlant\Instrumentation.