Here's another way to figure out what maintenance release of Creo you are running. This looks at the install log in the Parametric folder.
Note that what I show here is for interactive testing. You will need to double up the % signs for your batch file.
for /F "tokens=2 usebackq" %A IN (`findstr "SHIPCODE" "c:\ptc\Creo 1.0\Parametric\uninstall\instlog.txt"`)DO set CREOVERSION=%A
for /f "useback tokens=*" %a in ('%CREOVERSION%') do set CREOVERSION=%~a
In your batch file it would look like this:
for /F "tokens=2 usebackq" %%A IN (`findstr "SHIPCODE" "c:\ptc\Creo 1.0\Parametric\uninstall\instlog.txt"`)DO set CREOVERSION=%%A
for /f "useback tokens=*" %%a in ('%CREOVERSION%') do set CREOVERSION=%%~a
You can then use %CREOVERSION% to set the folder where you want to copy the loadpoint configs.
Obviously you need to change the hi-lited section to match your loadpoint.
Lawrence Livermore National Lab
7000 East Ave, L-362
Livermore, CA 94550
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.