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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Launch creo from .batch CMD

Drs95
6-Contributor

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
21-Topaz I
(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
6-Contributor
(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? 

Chris3
21-Topaz I
(To:Drs95)

The search tool on this forum isn't great. I use google and filter by URL:

 

https://www.google.com/search?q=site%3Ahttps%3A%2F%2Fcommunity.ptc.com+startup+scripts

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.

Announcements
NEW Creo+ Topics: PTC Control Center and Creo+ Portal


Top Tags