>>890 修正
(1)のパスは以下に差し替え
Script:JScript
p = WScript.Env('TempPath');
fn = p.substring(p.lastIndexOf('\\')+1, p.length);
WScript.Exec('NewTab:');
WScript.Exec('0:' + p + '\\..', 1);
WScript.Exec('Select:clear');
WScript.Exec('Select:/^(' + fn.replace(/([\(\)\[\]])/g, '\\$1') + ')$/');
WScript.Env('TempPath', '');

(2)のjsファイルの中身は以下に差し替え
var shell = WScript.CreateObject('WScript.Shell');
var xfpath = 'C:\\Tool\\Filer\\XF\\XF.exe';
wmi = GetObject("winmgmts:\\\\.\\root\\cimv2");
qev = wmi.ExecQuery("Select * from Win32_Process Where Name ='" + 'xf.exe' + "'");
if (qev.Count < 1) {
shell.Run(xfpath + ' "' + WScript.Arguments.Item(0) + '\\.."' , 1, false);
} else {
shell.Run(xfpath + ' "Set:TempPath=' + WScript.Arguments.Item(0) + '"', 1, true);
shell.Run(xfpath + ' 1:Extra:focustemppath.ini', 1, true);
}

指定のファイルに確実にフォーカス&選択されるようになったと思う…