Windchill_8.0系统自动启动

方案一、
1、创建一个批处理文件wtStart.bat(名称可以自取)。wtStart.bat的内容如下:
echo start Windchill
set WT_HOME="c:\ptc\Windchill_8.0"
start c:\ptc\Apache\bin\Apache.exe
call c:\ptc\tomcat5\bin\wttomcat_start.bat
call c:\ptc\Windchill_8.0\bin\infoengine\startnamingservice.bat
start c:\ptc\Windchill_8.0\bin\windchill.exe start
echo Windchill is starting
2、然后,将其存放的路径添加到注册表中(HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run 或者
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run)

方案二、
将其做成Wondows系统的服务。以 Windows 服务方式运行 Windchill。
执行下列命令可将 Windchill 配置为以 Windows 服务方式运行。执行命令时
会自动启动该服务。
从 Windchill 外壳程序,输入:
ant -buildfile  \opt\ntservice\WindchillService.xml install
-DserviceName=
其中 < 服务名称> 是引用该服务的唯一名称(例如 WTService)。
现在可以从 Windows 服务实用程序管理(例如,启动和停止) Windchill。
该名称列在您在上述命令中提供的名称(即 < 服务名称>)下面的实用程
序中。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值