2020/12/14

[note][creo2] Pro/E Creo 啟動batch修改,解決Intralink顯示異常

因為""辦公系統""的損毀
有些花好久設定起來的個人設定都消失了
還是backup一下好了
##ReadMore##

清除啟動目錄的亂七八糟檔案

cd /d %~dp0
call purge.bat
@mkdir purge_folder
move /y *.out purge_folder
move /y *.crc purge_folder
move /y *.xml purge_folder
move /y *.log purge_folder
move /y *.inf purge_folder
move /y *.lst purge_folder
move /y *.txt.* purge_folder


intralink搭配ie會白畫面/顯示異常

原因來自於內嵌式瀏覽器快取未清理
可參考https://community.ptc.com/t5/System-Administration/Embedded-browser-not-working/td-p/181600
在creo的啟動batch加入以下
rem https://community.ptc.com/t5/System-Administration/Embedded-browser-not-working/td-p/181600
rem https://www.ghacks.net/2017/07/18/how-to-delete-large-folders-in-windows-super-fast/
del %appdata%\PTC\.ptcm1912\ptc-browser\Cache\*.* /F/Q/S  > NUL


使用batch檔執行留下batch視窗


改以start執行。注意第一個引數會自動被判定為視窗標題。
start "start creo2" "C:\PTC\Creo20\Parametric\bin\parametric.exe" "C:\PTC\Creo20\Parametric\bin\parametric.psf" %*

沒有留言: