Difference between revisions of "Reading the installation folder"

From ArcoWiki
Jump to: navigation, search
m (2 revisions imported)
m (The LinkTitles extension automatically added links to existing pages (<a rel="nofollow" class="external free" href="https://github.com/bovender/LinkTitles">https://github.com/bovender/LinkTitles</a>).)
Line 1: Line 1:
'''Read the installation folder''' is possible by querying the environment variables with a non-standard [[DMIS]] command.<br/>
+
'''Read the installation folder''' is possible by querying the environment [[variables]] with a non-standard [[DMIS]] command.<br/>
 
The function <code>GETENV/</code> is used to read the installation folder of the various ARCO application, eahc application has a specific key word to recall the folder.<br/>
 
The function <code>GETENV/</code> is used to read the installation folder of the various ARCO application, eahc application has a specific key word to recall the folder.<br/>
 
This function is available from from version 3.4.9, the generic commad is:<br/>
 
This function is available from from version 3.4.9, the generic commad is:<br/>

Revision as of 14:19, 23 March 2018

Read the installation folder is possible by querying the environment variables with a non-standard DMIS command.
The function GETENV/ is used to read the installation folder of the various ARCO application, eahc application has a specific key word to recall the folder.
This function is available from from version 3.4.9, the generic commad is:

DECL/CHAR,200, STR1
STR1=ASSIGN/GETENV('ARCOSETUPFOLDER')

The parameters are:

  • ARCOSETUPFOLDER: Arco folder (Typically “C:\Metrostaff\ArcoCAD Inspection”)
  • ARCOREPORTFOLDER: Report folder (Typically “C:\Metrostaff\ArcoCAD Inspection\Reports”)
  • ARCOTEMPLATEFOLDER: Template folder (Typically “C:\Metrostaff\ArcoCAD Inspection\Template”)
  • ARCOSYSTEMFOLDER: System folder (Typically “C:\Metrostaff\ArcoCAD Inspection\System”)
  • ARCODATAFOLDER: Data folder (Typically “C:\Metrostaff\ArcoCAD Inspection\Data”)
  • ARCOUSERFOLDER: User folder (Typically “C:\Metrostaff\ArcoCAD Inspection\User”)
  • ARCODEFAULTFOLDER: Default folder (Typically “C:\Metrostaff\ArcoCAD Inspection\Default”)
  • EROWASETUPFOLDER: Erowa Preset folder (Typically “C:\EROWA\Presetting Support Module”)
  • EROWAMACROFOLDER: Erowa Preset Macro folder (Typically “C:\EROWA\Presetting Support Module\Macro”)
  • EROWAINPUTFILE: Erowa Input exchanges file (Typically “C:\InPresoftData.txt”)
  • EROWAOUPUTFILE: Erowa Input exchanges file (Typically “C:\OutPresoftData.txt”)