将bat批处理器恢复默认打开方式

assoc .bat=batfile
assoc .cmd=cmdfile
ftype batfile="%1" %*
ftype cmdfile="%1" %*
原文地址:https://www.cnblogs.com/zhangdongsheng/p/13386833.html