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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

With Arbortext Command Language, How to remove a catalog path from the set catalogpath?

dgopois
12-Amethyst

With Arbortext Command Language, How to remove a catalog path from the set catalogpath?

With Arbortext Command Language, How to remove a catalog path from the set catalogpath?

1 ACCEPTED SOLUTION

Accepted Solutions

You should be able to do something along these lines:

function fixCatalogPath() {

     local p = option("catalogpath");

     gsub('C:\Path\To\Remove','', p);

     set catalogpath = $p;

}

View solution in original post

2 REPLIES 2

You should be able to do something along these lines:

function fixCatalogPath() {

     local p = option("catalogpath");

     gsub('C:\Path\To\Remove','', p);

     set catalogpath = $p;

}

Clay,

Thank you for your help.

David

Top Tags