@echo off if not "%ECHO%"=="" echo %ECHO% :WORKSPACE_LISTING REM List the workspaces that the user currently has echo. echo Here is a list of all of your current Pro/INTRALINK workspaces: echo. dir .\.proi /b | find /v "." REM echo. REM echo The value of the HOMEDRIVE variable = %HOMEDRIVE%. REM echo. REM echo. REM echo Note a note of the desired workspace name to be entered in the following Pro/E launch command. REM echo. echo. echo 1) Enter the desired workspace name, echo 2) then press the Ctrl key and the Z key, echo 3) and then press the Enter key: echo. copy con workspacename.tmp echo. echo The name of the workspace that you entered is: echo. more workspacename.tmp echo. choice /N If this workspace name is correct press the 'y' key to continue. if errorlevel 2 goto :WORKSPACE_LISTING echo. for /f %%I in (filename.tmp) do set WORKSPACE=%%I REM echo. REM echo The value of the WORKSPACE variable = %WORKSPACE% REM echo. echo. echo The following command will be used to launch Pro/ENGINEER WildFire 2.0 echo linked to the desired workspace while not being logged into Pro/INTRALINK: echo. echo %HOMEDRIVE%\ptc_software\proe\bin\proe.exe -w%WORKSPACE% echo. %HOMEDRIVE%\ptc_software\proe\bin\proe.exe -w%WORKSPACE% echo. echo 1) The Pro/ENGINEER GUI will launch. echo. echo 2) The Pro/INTRALINK Menu will launch (leave it alone). echo. echo 3) A Pro/INTRALINK "Authorization" dialog box will appear after the Pro/ENGINEER GUI appears. echo Select "Cancel" in the "Authorization" dialog box to bypass logging into Pro/INTRALINK. echo. echo 4) A "Pro/INTRALINK connection error" dialog box will then appear. echo Select "OK" in the "Pro/INTRALINK connection error" dialog box echo stating that the "Pro/INTRALINK process not found". echo. echo 5) Work in Pro/ENGINEER as usual. echo. echo 6) Exit out of Pro/ENGINEER echo. echo 7) Exit out of the Pro/INTRALINK Menu after working in Pro/ENGINEER. echo (Note: The Pro/INTRALINK Menu will probably be located behind the Pro/ENGINEER GUI.) echo. REM Cleanup the temporary file used to contain the workspace name. del workspacename.tmp pause