Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
In our company, IT copies our config files to the text folder of ProE every time someone logs into their computer. However, in Creo 3, we noticed the folder structure is by datecode. This makes it much harder for an automated system to map through a folder structure that is changing every few months and where some users may be on different date codes than others. Any suggestions?
Thanks!
Solved! Go to Solution.
yes. Thank you. I was able to figure it out. I used:
@echo off
set install_loc=C:\PTC\Creo 3.0
for /d %%a in ("%install_loc%\*") do (
copy "****network folder****\config.pro" "%%a\Common Files\text\" /Y
copy "****network folder****\config.sup" "%%a\Common Files\text\" /Y
)
@echo on
Hi Joseph,
At least for Creo 2 you can setup the batch file to recognize the date code version you are using so you don't need to modify the batch file after each update.
See slide 33 on this presentation: http://communities.ptc.com/servlet/JiveServlet/download/3205-5-45122/CUST134_Creo_Creo_Admin_101_Haigh.pdf
I hope it works for Creo 3 as well. Let me know if you got it working.
Joseph,
You can use batch file as refer the PDF suggested by Jari
yes. Thank you. I was able to figure it out. I used:
@echo off
set install_loc=C:\PTC\Creo 3.0
for /d %%a in ("%install_loc%\*") do (
copy "****network folder****\config.pro" "%%a\Common Files\text\" /Y
copy "****network folder****\config.sup" "%%a\Common Files\text\" /Y
)
@echo on