Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
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
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>
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.
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?