cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

change start directory?

Chris3
20-Turquoise

change start directory?

Has anyone successfully changed their start directory? I don't mean the
working directory - I know how to change that.

There is a config option file_open_default_folder which controls this. I
want the default because I want the directory to change depending on
whether I am working in a linked session or not.

I want to change the start directory when I am not in a linked session.
By default it is "My Documents". I want to change it to something else
yet still keep file_open_default_folder set to default.

Has anyone done this? Yes I know I could create a mapkey for both cases
but there seems like there should be a better way ...

Chris

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.
4 REPLIES 4

I have a couple windows shortcuts that have the 'start in' path changed
as needed. Because I don't have any type of config.pro, or config.sup
at the loadpoint, pro-e then loads the config.pro file at the path
specified in the shortcut.



But, the path will not be changed until I exit pro-e and re-launch using
a different shortcut (and a different start in directory path)





Christopher Gosnell

TRIGON INC.
FPD Company
124 Hidden Valley Road
McMurray, PA 15317
PH: 724.941.5540
FX: 724.941.8322
www.fpdinc.com
Chris3
20-Turquoise
(To:Chris3)

A number of people have suggested changing the "start in" field for the
shortcut to launch Pro/E. That field sets the initial Working Directory
not the Start Directory.


If you change that field and then do a File -> Open after launch it
still points to "My Documents"

Chris

Like most things in Pro-e... there's more to the story.



IF you change the 'start in' directory and DON'T have a config.pro
loaded, the system defaults to the 'My documents' folder.



IF you have a config.pro in the 'start in' directory, the following MUST
be in the config.pro:



file_open_default_folder working_directory



At least that's how I tested pro-e in several 'start in' folders...



WF4 M110, no I-link, etc...



BTW, make sure you are not calling other options (such as frt (feature
recognition)) that may be making path callouts.



When in doubt, create a config.pro with only the option listed above.



Christopher Gosnell

TRIGON INC.
FPD Company
124 Hidden Valley Road
McMurray, PA 15317
PH: 724.941.5540
FX: 724.941.8322
www.fpdinc.com
lwh
1-Newbie
1-Newbie
(To:Chris3)

Create a set of batchfiles (assuming Windows), which perform the following tasks:

  • change to the desired start folder
  • copy config.pro (and config.win) files and other files (line styles, ecad_hint.map etc.)
  • add specific config settings just by appending lines to the config.pro copy
  • set required environment variables for ProE
  • launch ProE (or IL)
  • after finishing, remove copied files
I created Tcl/Tk scripts for different customers, which even allow selection of different ProE/IL revisions, project specific settings etc. (see http://www.lwh-brainware.de/en/proe_ex1.shtml for an example)
Announcements
NEW Creo+ Topics: PTC Control Center and Creo+ Portal