×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Search path for folder and ALL subfolders?

Search path for folder and ALL subfolders?

Search path for folder and ALL subfolders?

(OP)
Is there an easy way to add a folder and all of it's subfolders to a search.pro file?
 

RE: Search path for folder and ALL subfolders?

Try this DOS command from the command line. Use Start/Run and then type in "cmd" (with no quotes) to get the command line editor.  

Switch to the C:\ directory and then type in the following:

  dir /s /on /b /a:d > listing.txt

This will generate a listing of all the subdirectories from the root directory on down and put them in a file called listing.txt.

You can run this from any directory and get a subdirectory listing.

From this generated output, create your search.pro file as required.


 

--
Fighter Pilot
Manufacturing Engineer

RE: Search path for folder and ALL subfolders?

(OP)
Thanks fighterpilot.

I've inherited a bunch of assemblies from another user and don't have their old search.pro files...  this will save me a bunch of time.

RE: Search path for folder and ALL subfolders?

Massive search lists will cause long retrieval times, particularly if the correct folders come late in the list.

RE: Search path for folder and ALL subfolders?

I think if you just extract all your files to one directory and then change to that directory in Pro/E, the assembly should retrieve w/o the use of search paths.  That should speed things up.  dgallup is correct regarding search paths and retrieval times.

--
Fighter Pilot
Manufacturing Engineer

RE: Search path for folder and ALL subfolders?

(OP)
I realize that the too many search paths is bad, but not knowing where all the files are and not having the search.pro files or config files I believe I'm limited to the following options the first time I open the assemblies:

1.  Open and manually find the location of the parts as the assembly & sub assemblies fail to open.

2.  Add all directories to a seach.pro file and open the assembly.

Either way, once it's open I'll be saving copies of them so that no one else has to go through this mess.

Thank you to both of you for your help.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources