13/12/27 19:35:28.55 l84nJ+Ph0
両立させるなら、導入は↑のままにしてこんな感じかね
Script:JScript
fs=new ActiveXObject("Scripting.FileSystemObject");
cr=WScript.Env('Current');
dn=fs.GetDriveName(cr);
WScript.Exec('Set:TabName='+fs.GetFileName(cr)+' / '+dn,1);
if(/C:/i.test(dn)){tc='#C0F0F0,#C0F0F0'}
if(/D:/i.test(dn)){tc='#80FFFF,#80FFFF'}
if(/E:/i.test(dn)){tc='#D4D0FB,#D4D0FB'}
if(/F:/i.test(dn)){tc='#FFC8C8,#FFC8C8'}
WScript.Exec('Set:TabColor='+tc,1);