cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

How to start a windchill shell using command prompt ?

saitha
1-Newbie

How to start a windchill shell using command prompt ?

Hi Friends,

I am doing windchill reshosting from source system to target system.My machine is Target system.I have copied all the windchill instllation and apache to my target system.and i was installed directory server in my target system.

Can you please help me how to open a windchill shell using command prompt.

Thanks and Regards

Sandeep

3 REPLIES 3
GaryMansell
6-Contributor
(To:saitha)

SET WT_HOME=C:\ptc\Windchill

SET JAVA_HOME=C:\ptc\Java

cd /d %WT_HOME%

pushd %WT_HOME%\bin

call setvars.bat

call tools.bat

popd

<Now include any Windchill Shell Commands that you want to run by CALL statements>

jessh
5-Regular Member
(To:GaryMansell)

That may be a useful set of commands, but where instructions ask for a "windchill shell", they generally intend for one to use the "windchill shell" command to obtain a shell.

If you look at the "Windchill Shell" shortcut generated during installation it will provide all the details:

WT_HOME\bin\windchill.exe -w "WT_HOME" --java="JAVA_HOME\jre\bin\java.exe" shell

where WT_HOME and JAVA_HOME are replaced by the actual path of by %WT_HOME% and %JAVA_HOME% if you set these variables first.

GaryMansell
6-Contributor
(To:jessh)

I assumed OP wanted to run some commands programatically and I have done it that way before.

Is there a way to call a windchill shell and pass commands to run in it from a command line then?

Top Tags