我在使用 Directory Opus 过程中用到的一些东东
FileType CONTEXTMENU={5B69A6B4-393B-459C-8EBB-214237A9E7AC} CONTEXTFORCE
@hidenosel:maxfiles=1,maxdirs=1
"/windows\explorer.exe" /Select, /e, {s}
SetAttr META gpsaltitude gpslatitude gpslongitude
<b><#32CD32>{name}</#></b>{thumbnail}
<b> 公司:</b>\ {companyname}
<b>产品版本:</b>\ {prodversion}
<b> 版权:</b>\ {copyright}
<b>文件描述:</b>\ {moddesc}
<b>文件版本:</b>\ {modversion}
<b>创建时间:</b>\ {created}
<b>修改时间:</b>\ {modified}
<b>文件大小:</b>\ {sizeauto}
<b> 平台:</b>\ {=return(RegEx(desc, "(^.*?)( - )(.*)", "\3", "(.*?)(\.NET), (.*)", "\1\3", "(\w+)(.*?)(\w+)", "\1"));=}{!=RegEx(desc, "(\.NET)(.*)", "\1") == ".NET"=} (.NET){!}
<b>数字签名:</b>\ {=return(RegEx(desc, "(^.*?)( - )(.*)", "\3", "(.*?)(\.NET), (.*)", "\1\3", "(\w+)(.*?)(\w+)", "\3"));=}
<?xml version="1.0"?>
<evalcolumn align="0" attrrefresh="no" autorefresh="no" category="prog" customgrouping="no" foldertype="shell" keyword="Is.NET" maxstars="5" namerefresh="no" reversesort="no" title=".NET" type="0">return(UCase(RegEx(desc, "(\w\d*?\W\s)(\.NET)(\W\s)", "") == ""));</evalcolumn>
<?xml version="1.0"?>
<evalcolumn align="0" attrrefresh="no" autorefresh="no" category="prog" customgrouping="no" foldertype="shell" header="平台" keyword="Platform" maxstars="5" namerefresh="no" reversesort="no" title="平台" type="0">return(RegEx(desc, "(^\w+\d*)(.*)", "\1"));</evalcolumn>
<?xml version="1.0"?>
<evalcolumn align="0" attrrefresh="no" autorefresh="no" category="prog" customgrouping="no" foldertype="shell" header="数字签名" keyword="Signature" maxstars="5" namerefresh="no" reversesort="no" title="数字签名" type="0">return(RegEx(desc, "\.NET\W\s(\w+)", "\1", "(^\w+\d*)\W\s(\w+)(\W\s)*", "\2"));</evalcolumn>
<?xml version="1.0"?>
<evalcolumn align="1" attrrefresh="yes" autorefresh="yes" category="date" customgrouping="no" foldertype="all" graphcol="#ff8000" header="创建于" keyword="CreateAt" maxstars="5" namerefresh="yes" reversesort="no" title="创建于" type="0"> seconds = DateDiff("s", created, Now());
Suffix = (seconds >= 0) ? " Ago" : " Later";
s = seconds Mod 60;
n = seconds / 60 Mod 60;
h = seconds / 60 / 60 Mod 24;
d = seconds / 60 / 60 / 24 mod 30;
m = seconds / 60 / 60 / 24 / 30 mod 12;
y = seconds / 60 / 60 / 24 / 30 / 12;
ss = (d > 0 || s == 0) ? "" : s + "s";
nn = (m == 0) ? "" : m + "m ";
hh = (h == 0) ? "" : h + "h ";
dd = (d == 0) ? "" : d + "d ";
mm = (m == 0) ? "" : m + "m ";
yy = (y == 0) ? "" : y + "y ";
return Trim(yy + dd + hh + nn + ss + Suffix);
</evalcolumn>
<?xml version="1.0"?>
<evalcolumn align="1" attrrefresh="yes" autorefresh="yes" category="date" customgrouping="no" foldertype="all" graphcol="#ff8000" header="修改于" keyword="ModifyAt" maxstars="5" namerefresh="yes" reversesort="no" title="修改于" type="0"> seconds = DateDiff("s", modified, Now());
Suffix = (seconds >= 0) ? " Ago" : " Later";
s = seconds Mod 60;
n = seconds / 60 Mod 60;
h = seconds / 60 / 60 Mod 24;
d = seconds / 60 / 60 / 24 mod 30;
m = seconds / 60 / 60 / 24 / 30 mod 12;
y = seconds / 60 / 60 / 24 / 30 / 12;
ss = (d > 0 || s == 0) ? "" : s + "s";
nn = (m == 0) ? "" : m + "m ";
hh = (h == 0) ? "" : h + "h ";
dd = (d == 0) ? "" : d + "d ";
mm = (m == 0) ? "" : m + "m ";
yy = (y == 0) ? "" : y + "y ";
return Trim(yy + dd + hh + nn + ss + Suffix);
</evalcolumn>