Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting your Working Directory

  • Thread starter Thread starter Moroso
  • Start date Start date
Status
Not open for further replies.
M

Moroso

Guest
Is there a way to set your working directory to a directory other than where the config.pro is located



Thank you
 
Setting the home directory:



On a windows based machine: Right click on the icon that you use to launch Pro/E and select PROPERTIES, choose the shortcut tab and change the start in to the full path of the directory where you want Pro/E to start in.

On a UNIX machine: navigate to the directory that you want to start in and give the Pro/E start up command from here.
 
If you're in Wildfire, just right click on the folder and set it to 'Working Directory'.



Steve C
 
In 2001 or WF goto File > Set Working Directory and browse to directory you want.
 
I always edit the batch file that starts Pro/E and change to the top level data directory just before Pro/E starts. In other words, find the loadpoint\bin\startupcommand.bat file and put in a line like:



cd G:\CAD\SOLID



You can still over ride this setting with the short cut start in property.



I also add a line to change to the trail file directory and purge that everytime Pro/E starts so that it doesn't fill up the disk with trail files.
 
I don't think I was clear enough, my mistake.



When Pro/E starts up initially is there a way to set your working directory automatically to a directory other than where the config.pro is located.



If my config.pro is in ex. c:/Program Files/ProE2001 and I want my start up dir to be d:/Work, I want to have Pro/E start in the d:/work directory but I don't want to have my config.pro in that directory I want it to be read from the c:/Program Files/ProE2001 .



Thank you
 
mgnt8's answer (first reply) is what you want...



Another method is to start Pro/E using a 'wrapper' script instead of just launching the proe2001.bat file...



proe.bat

----------8<------------

set path=c:/Program Files/ProE2001/bin;%path%

cd /d d:/work

proe2001.bat

----------8<------------



Then use this batch file to launch Pro/E instead.



-Brian Adkins
 
What I needed to do was put my config.pro in the loadpoint text directory and then I can change my Start in path



Thanks for all suggestions everyone





Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top