第一步:使用assoc命令将扩展名和文件类型关联;
第二步:使用ftype命令将文件类型和打开程序关联;

文件关联示例
assoc .txt=txtfile
ftype txtfile=C:\Windows\notepad.exe %1
参考资料
[1].玩转Windows 7文件关联:http://tech.sina.com.cn/s/2010-06-25/07364349548.shtml

assoc .txt=txtfile
ftype txtfile=C:\Windows\notepad.exe %1
评论(0)
暂无评论。