通过程序修改FlashPlayer的本地安全策略

cd %windir%/system32/Macromed/Flash
md FlashPlayerTrust
cd FlashPlayerTrust
echo c: >myTrustFiles.cfg
echo d: >>myTrustFiles.cfg
echo e: >>myTrustFiles.cfg
echo F: >>myTrustFiles.cfg
cd %userprofile%/Application Data/Macromedia/Flash Player/#Security
md FlashPlayerTrust
cd FlashPlayerTrust
echo c: >myTrustFiles.cfg
echo d: >>myTrustFiles.cfg
echo e: >>myTrustFiles.cfg
echo F: >>myTrustFiles.cfg

把上面这段代码保存为cmd格式,用之前让用户点一次(以后就不用点了),就完事了。上面只有C到F盘,你的光盘是放到光驱里面,还要添加GHI……一些盘进去。

猜你喜欢

转载自wj-126mail.iteye.com/blog/1276746