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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Pro Tip: Creating search paths file quickly.

Michael
15-Moonstone

Pro Tip: Creating search paths file quickly.

command in windows :


dir /b /s /a:d > folders.txt

 

This command will output a text file with all the recursive folders found in the current path where the command runs. 

it will create a file with all the sub directories recursively found in the starting path, and will write this out to folders.txt. This can be used and renamed to search paths file. 

It will save you a lot of time for having to create this file manually. 

 

Michael P Bourque
Boston Regional User Group
1 REPLY 1
KenFarley
21-Topaz I
(To:Michael)

Previous discussion with utility (DOS batch) script to do things automatically.

https://community.ptc.com/t5/System-Administration/Config-pro-search-path-quot-relative-quot-path/m-p/540262#M20 

Should take care of things like putting quotes around the directory specifications. If any white space is in a directory name, the search.pro file will not work if directories are not surrounded by quotes.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags