With Arbortext Command Language, How to remove a catalog path from the set catalogpath?
‎Dec 04, 2015
08:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Dec 04, 2015
08:37 AM
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?
Solved! Go to Solution.
Labels:
- Labels:
-
Content Authoring
ACCEPTED SOLUTION
Accepted Solutions
‎Dec 04, 2015
09:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Dec 04, 2015
09:24 AM
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 2
‎Dec 04, 2015
09:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Dec 04, 2015
09:24 AM
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;
}
‎Dec 09, 2015
05:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Dec 09, 2015
05:31 AM
Clay,
Thank you for your help.
David