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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Launch creo from .batch CMD

Drs95
5-Regular Member

Launch creo from .batch CMD

Hi folks,

 

Currently I'm working on make a batch file that start creo but I dont have any experiences in programming with CMD. 

 

Does anyone has any source/book that I can use to learn how to set variables, call .exe, make if statements... The basics 

 

Until now we have managed to start the "parametric.exe" thats on the bin folder of CREO 3.0 and every user copy his standard config to work with it in creo.  

 

Hope anyone can help, have a nice day

4 REPLIES 4
Chris3
20-Turquoise
(To:Drs95)

These are called "Startup scripts" or "Launch Scripts". There are lots of topics on the forum about them.

 

To get started you might want to review:

https://community.ptc.com/sejnu66972/attachments/sejnu66972/installation_licensing/1673/1/ProE%20Launch%20Script.docx

 

https://community.ptc.com/sejnu66972/attachments/sejnu66972/installation_licensing/1281/1/Creo%20Admin%20102.pptx

Drs95
5-Regular Member
(To:Chris3)

Chris!

Thank you so much, thats exactly what I was looking for. I think this is an awesome startpoint to me.

 

I just have a simple question, where did you get those documents? 

KenFarley
21-Topaz I
(To:Drs95)

I've found that my best means of figuring out how to do something in a DOS batch file is a carefully constructed search string on Google or the equivalent. It's usually an iterative process where I eventually get the proper terms and some examples after a bit of bouncing around. The batch command syntax is very confusing, with lots of "%" and "/" characters and weird stuff that looks like it's encrypted. The perils of using a computer "language" that is decades old, I suppose.

Top Tags