Question
Creo Leaves Command Prompt Window Open
Creo 1.0 F000
Hello,
We use a series of batch files to launch Pro/E. We use the same files
for WF3, WF4, WF5 and now Creo 1. When a specific version is launched,
it's a specific batch file that sets a series of variables that define
the version being used then it calls the common batch files. Part of
that process is that the user is prompted to choose which client they
are working on so that the proper config files are loaded.
In WF3, WF4 and WF5 (as well as versions back to 2001), the command
prompt window comes up with the client choice prompt, but once the
choice is made and the files are processed the command prompt window
goes away before Pro/E comes up. With Creo 1, the window fails to close
but Creo launches fine. The user can close the command prompt without
apparent issue or it will close when Creo is closed.
The last line of our batch files simply calls the Pro/E or Creo
executable (preo.exe in WF5 and older, parametric.exe in Creo),
sometimes with a trail file to run. I tried adding 'exit' and 'exit /b'
to the end of our batch file but that didn't work. I suspect it may be
a change in the executable file itself.
It's not a huge deal, but it would be nice to have the command prompt
window close once the batch file is processed, like it did prior to
Creo. Any ideas?
Doug Schaefer
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Hello,
We use a series of batch files to launch Pro/E. We use the same files
for WF3, WF4, WF5 and now Creo 1. When a specific version is launched,
it's a specific batch file that sets a series of variables that define
the version being used then it calls the common batch files. Part of
that process is that the user is prompted to choose which client they
are working on so that the proper config files are loaded.
In WF3, WF4 and WF5 (as well as versions back to 2001), the command
prompt window comes up with the client choice prompt, but once the
choice is made and the files are processed the command prompt window
goes away before Pro/E comes up. With Creo 1, the window fails to close
but Creo launches fine. The user can close the command prompt without
apparent issue or it will close when Creo is closed.
The last line of our batch files simply calls the Pro/E or Creo
executable (preo.exe in WF5 and older, parametric.exe in Creo),
sometimes with a trail file to run. I tried adding 'exit' and 'exit /b'
to the end of our batch file but that didn't work. I suspect it may be
a change in the executable file itself.
It's not a huge deal, but it would be nice to have the command prompt
window close once the batch file is processed, like it did prior to
Creo. Any ideas?
Doug Schaefer
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

