Skip to main content
13-Aquamarine
Dec 4, 2015 1:37 PM UTC
Solved

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?

18-Opal
Dec 4, 2015 2:24 PM UTC

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;

}

2 replies

18-Opal
Dec 4, 2015 2:24 PM UTC

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;

}

Translate
dgopois13-AquamarineAuthor
13-Aquamarine
Dec 9, 2015 10:31 AM UTC

Clay,

Thank you for your help.

David

Translate