2007/01/21 09:01
文章作者:9Enjoy 转载请注明原文链接。

今天将一个js文件改名con.js,结果弹出如上提示。
随便试了些其它文件名,改名为con,con.asp之类的都不行,改为icon,cont.js之类的都可以。
不知道是什么原因:(
'-------------------------------------------------
'070122补充
知道原因了,原来是在Windows下无法以设备名来命名文件或文件夹,这些设备名主要有aux、com1、com2、prn、con、nul等。
来自:特洛伊木马如何利用文件关联和设置名
我试了下改名为prn,就换成这个提示了。

引用
It's not a bug, the answer is too simple, first of all view this page to know that it's documented:
And the reason for this is too simple, you can open Com port as example using CreateFile API as opening normal files too, so you can't create files with these names because of this simple reason.
来自:http://geekswithblogs.net/aboos/archive/2005/10/19/57411.aspx
And the reason for this is too simple, you can open Com port as example using CreateFile API as opening normal files too, so you can't create files with these names because of this simple reason.
来自:http://geekswithblogs.net/aboos/archive/2005/10/19/57411.aspx
引用
prn和con是dos时代的设备名,prn是打印机,con是显示器,还有nul,是空设备。这些设备名结合dos命令会有很多不错的用途,比如copy con a.bat,把显示器上输入的东西保存到a.bat中,ctrl-z是结束输入。而copy *.* nul,把所有文件拷贝到空设备里,则能看出你的机器能否把该目录下所有文件正常读出。
居然还看到一篇用此方法设计木马,让用户删不掉的。。。
http://www.itlearner.com/article/2007/3634.shtml

从多选(multiple)的select中得到所选结果
给IE有效指定编码 

