Skip to main content
1-Visitor
March 27, 2013
Question

Creo Parametric startup batch hanging

  • March 27, 2013
  • 3 replies
  • 1297 views
My startup .bat file uses the below command to launch Creo Parametric 2.0.
My problem is the CMD window does not close once Creo starts.
Anyone have a fix?

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.

3 replies

13-Aquamarine
March 27, 2013
Do it like this:
start "xxx" "C:\ptc\Creo 2.0\Parametric\bin\parametric.exe"

Where xxx is anything you want to name the window.
1-Visitor
March 28, 2013
Vaughn,

I just tried your batch file, and it works fine for me. The cmd window
closes. I'm on Windows XP, so maybe it is different on Win7.

A possible fix may the to change the start line into
START "C:\Program Files\PTC\Creo 2.0\Parametric\bin\parametric.exe"
That way the program is started in a new window, and your batch file
continues with the next statement instantly instead of waiting for the
program to start.

Another possible solution is to use a shortcut instead of your batch
file, since all you seem to be doing is changing startup directory and
starting Creo. You can set the startup dir in your shortcut properties.

Best regards,
Patrick Asselman

April 1, 2013
You can also try using the "call" syntax to start proe. Pull up the help on call and start and you'll get the options for your Windows version. (i.e. "call /?" & "start /?"

Finally, if your batch doesn't start with the line:
setlocal EnableExtensions
then you are relying on system settings and may not be getting the environment you want.

~Dan