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

How to start a windchill shell using command prompt ?

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

Re: How to start a windchill shell using command prompt ?

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>

Re: How to start a windchill shell using command prompt ?

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.

Re: How to start a windchill shell using command prompt ?

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?