iCAx开思工具箱
标题:
CAA CATIA::请问如何获得CATIA的安装信息
[打印本页]
作者:
Kama_Goon
时间:
2005-5-20 23:05
标题:
CAA CATIA::请问如何获得CATIA的安装信息
请问作为一个不是二次开发的程序,就是一般的程序,如何获得CATIA的安装版本信息、安装路径等等。或者说是系统变量之类的,谢谢!
作者:
cupcake
时间:
2005-5-21 10:34
比如我的CATIA的环境变量在这个文件夹里面:
C:\Documents and Settings\1001\Application Data\DassaultSystemes\CATEnv
其中1001是我的用户名。
作者:
Kama_Goon
时间:
2005-5-21 20:56
不是指这个路径,是Windows的安装环境变量。比方CATInstallPath、LM_LISENCE_FILE等等这样的变量。
作者:
cupcake
时间:
2005-5-22 18:52
随便打开这个目录下面的一个文本文件,里面都有CATInstallPath的内容,如:
!----------------------------------------------------------
! DASSAULT SYSTEMES - V5 ENVIRONMENT FILE
!----------------------------------------------------------
! MODE : User
! TYPE : Interactif
! TMSTMP : 1106570314
!----------------------------------------------------------
CATInstallPath=F:\CAA\0103\intel_a;D:\Catia\intel_a
CATDLLPath=F:\CAA\0103\intel_a\code\bin;D:\Catia\intel_a\code\bin
CATICPath=F:\CAA\0103\intel_a\code\productIC;D:\Catia\intel_a\code\productIC
CATCommandPath=F:\CAA\0103\intel_a\code\command;D:\Catia\intel_a\code\command
CATDictionaryPath=F:\CAA\0103\intel_a\code\dictionary;D:\Catia\intel_a\code\dictionary
CATDocView=F:\CAA\0103\intel_a\doc;D:\Catia\intel_a\doc
CATReffilesPath=F:\CAA\0103\intel_a\reffiles;D:\Catia\intel_a\reffiles
CATFontPath=F:\CAA\0103\intel_a\resources\fonts;D:\Catia\intel_a\resources\fonts
CATGalaxyPath=F:\CAA\0103\intel_a\resources\galaxy;D:\Catia\intel_a\resources\galaxy
CATGraphicPath=F:\CAA\0103\intel_a\resources\graphic;D:\Catia\intel_a\resources\graphic;F:\CAA\0103\intel_a\resources\graphic\icons;D:\Catia\intel_a\resources\graphic\icons;F:\CAA\0103\intel_a\resources\graphic\figures;D:\Catia\intel_a\resources\graphic\figures;F:\CAA\0103\intel_a\resources\graphic\splashscreens;D:\Catia\intel_a\resources\graphic\splashscreens;F:\CAA\0103\intel_a\resources\graphic\symbols;D:\Catia\intel_a\resources\graphic\symbols;F:\CAA\0103\intel_a\resources\graphic\textures;D:\Catia\intel_a\resources\graphic\textures
CATMsgCatalogPath=F:\CAA\0103\intel_a\resources\msgcatalog;D:\Catia\intel_a\resources\msgcatalog
CATFeatureCatalogPath=F:\CAA\0103\intel_a\resources\featurecatalog;D:\Catia\intel_a\resources\featurecatalog
CATDefaultCollectionStandard=F:\CAA\0103\intel_a\resources\standard;D:\Catia\intel_a\resources\standard
CATStartupPath=F:\CAA\0103\intel_a\startup;D:\Catia\intel_a\startup
CATW3ResourcesPath=F:\CAA\0103\intel_a\docs;D:\Catia\intel_a\docs
CATReferenceSettingPath=
CATUserSettingPath=CSIDL_APPDATA\DassaultSystemes\CATSettings
CATCollectionStandard=
CATTemp=CSIDL_LOCAL_APPDATA\DassaultSystemes\CATTemp
CATMetasearchPath=DSKEY_TMPDIR
CATW3PublishPath=DSKEY_TMPDIR
CATSharedWorkbookPath=DSKEY_TMPDIR
CATErrorLog=CSIDL_LOCAL_APPDATA\DassaultSystemes\CATTemp\error.log
CATReport=CSIDL_LOCAL_APPDATA\DassaultSystemes\CATReport
CATDisciplinePath=
USER_HOME=CSIDL_PERSONAL
JAVA_HOME=%JAVA_HOME%
CLASSPATH_JDBC=
CLASSPATH=%CLASSPATH_JDBC%;%CLASSPATH%
PATH=F:\CAA\0103\intel_a\code\bin;D:\Catia\intel_a\code\bin;F:\CAA\0103\intel_a\code\command;D:\Catia\intel_a\code\command;%JAVA_HOME%\bin;%PATH%
写程序读取你需要的信息就行了。
作者:
acoka
时间:
2005-5-22 22:26
去读注表的 HKEY_LOCAL_MACHINE的SOFTWARE的Dassault Systemes
作者:
Kama_Goon
时间:
2005-5-23 21:14
哦,两位,我明白了,谢谢两位!
欢迎光临 iCAx开思工具箱 (https://t.icax.org/)
Powered by Discuz! X3.3