アクティブなペインのタブ一覧を「クリップフォルダ」アドオンに送るスクリプトを書いたのですが
先頭のタブに半角スペースが含まれているとパスがスペースの位置で分割されたり
スペースが含まれていないタブを先頭にするとそのパスの末尾にバックスペースが付加され
「クリップフォルダ」アドオンの“取除く”から消すことができなくなります
もし回避方法があったら教えてください

(function () {
wsh.CurrentDirectory = fso.GetParentFolderName(api.PathQuoteSpaces(api.GetModuleFileName(null)));
const cfu = fso.GetAbsolutePathName("..\\ClipFolder\\clip01.cfu");
if (fso.FileExists(cfu)) {
let items = [];
for (const e = new Enumerator(Ctrl.Parent); !e.atEnd(); e.moveNext()) {
if (fso.FolderExists(e.item().FolderItem.Path)) {
items.push(e.item().FolderItem.Path);
}
}
if (items.length >= 1) {
Sync.ClipFolder.Add(cfu, '"' + items.join('" "') + '"');
}
}
})();