Skip to main content
13-Aquamarine
December 4, 2015
Solved

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

  • December 4, 2015
  • 1 reply
  • 1184 views

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

Best answer by ClayHelberg

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;

}

1 reply

18-Opal
December 4, 2015

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;

}

dgopois13-AquamarineAuthor
13-Aquamarine
December 9, 2015

Clay,

Thank you for your help.

David