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

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

dgopois
13-Aquamarine

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?

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;

}

dgopois
13-Aquamarine
(To:ClayHelberg)

Clay,

Thank you for your help.

David

Announcements

Top Tags