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,
One of two reasons:
1: you for got to remove the comment in front of the "set" statement
Because you have the variable inside the quotation marks. It is simply ignoring it as a variable.
set proe_load_point="C:\Program File\Creo 1.0\"
You might remove the echo statements so you can see what is going on.
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:
But this could not work.
Another way to launch creo is, to use registry:
rem find latest reg entry
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 Installationspath Creo: %AppPath%
echo Creo Version: %creoversion%
start "" "%AppPath%\bin\parametric.exe"