If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Creo 4 startup directory

For every version of Pro/E I've always had a shortcut that called a batch file that launches Pro/E. In the properties of the shortcut I set a Start In folder which is the top directory where all our models are stored (no PDM system). This still works just fine for WF2 and Creo 2. However, setting the Start In folder has no effect for Creo 4 (we are using M020), it always starts in My Documents. Anybody know why and more importantly how to fix this behavior?

Have you checked the value of the config option file_open_default_folder? As I recall, starting about Creo 1, I believe, the default folder shown was set to the My Documents folder. Something about Windows compliance I believe. Your working directory is likely set correctly, you just need to set file_open_default_folder to working_directory.

Another remote possibility is that your custom startup batch file is changing the directory it is running in. Creo will set the working directory based on the folder that is active at the end of your custom startup batch file. That effectively sets the folder that Creo is started in. The icon property only sets the folder that your custom startup batch file is started in. Most people don't change folders in their startup batch file and, unless yours changed when you went to Creo 4, it would have done this with Creo 2 & WF2 as well.

Thanks! I added this line to my personal config.pro and that solved the problem.

file_open_default_folderworking_directory

I did not have that option set to anything before and it's not set in any of the WF or Creo installation directories so they must have changed the default behavior.

I really need to spend some time configuring Creo 4. It's just not part of my job description anymore but no one else is doing it either.

Originally Posted by dgs

Have you checked the value of the config option file_open_default_folder? As I recall, starting about Creo 1, I believe, the default folder shown was set to the My Documents folder. Something about Windows compliance I believe. Your working directory is likely set correctly, you just need to set file_open_default_folder to working_directory.

Another remote possibility is that your custom startup batch file is changing the directory it is running in. Creo will set the working directory based on the folder that is active at the end of your custom startup batch file. That effectively sets the folder that Creo is started in. The icon property only sets the folder that your custom startup batch file is started in. Most people don't change folders in their startup batch file and, unless yours changed when you went to Creo 4, it would have done this with Creo 2 & WF2 as well.