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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

launch script

visu
1-Newbie

launch script

Hi folks

I have attached 2 screens shots of launch script,

see the difference and say why the script was not call pro-e when i save the file like picture 1, in picture 2 was working good.

And please give me some videos of launch script for pro-e or any pdf

--

Thanks and regards,

K.Viswanathan

Mobile No:+91-9940589005

PICTURE 1

PICTURE 2


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.
6 REPLIES 6
visu
1-Newbie
(To:visu)

Sorry here i have attached pictures

TomD.inPDX
17-Peridot
(To:visu)

One of two reasons:

1: you for got to remove the comment in front of the "set" statement

or 2:

Because you have the variable inside the quotation marks. It is simply ignoring it as a variable.

try:

set proe_load_point="C:\Program File\Creo 1.0\"

call %proe_load_point%parametric\bin\parametric.exe

You might remove the echo statements so you can see what is going on.

Mat
13-Aquamarine
13-Aquamarine
(To:visu)

Does

echo %proe_load_point%

throw you a "C:\Program File\Creo 1.0\" ?

visu
1-Newbie
(To:Mat)

Coouldn't get you.

Could you exlain please.

Regards

Viswanathan.K

Mat
13-Aquamarine
13-Aquamarine
(To:visu)

my point is, does %proe_load_point% contain the String "C:\Program File\Creo 1.0\". You can test it with the "echo" command.

If not, your second line would ask your system to run:

"Call parametric\bin\parametric.exe"

But this could not work.

Mat
13-Aquamarine
13-Aquamarine
(To:Mat)

Another way to launch creo is, to use registry:

rem find latest reg entry

set regsearchpath=abc

for /f "tokens=*" %%a in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PTC\Creo Parametric\2.0" /z ') do set "regsearchpath=%%a"

rem search for current installdir

for /f "tokens=2*" %%a in ('reg query "%regsearchpath%" /v InstallDir') do set "AppPath=%%~b"

for /f "tokens=2*" %%a in ('reg query "%regsearchpath%" /v Shipcode') do set "creoversion=%%~b"

echo.

echo Installationspath Creo: %AppPath%

echo Creo Version: %creoversion%

start "" "%AppPath%\bin\parametric.exe"

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags