为什么我不能在 Windows 中创建一个名为 'con' 的文件夹?
Why can't i create a folder named 'con' in Windows?
我正在创建一个 java 包。
当我创建一个名为 'con' 的文件夹时,出现了这个错误。
然后我尝试在我电脑的任何其他文件夹中创建它,但我做不到。
这是一个奇妙的错误。有人知道为什么会这样吗?
原因是这些关键字是为 OS 执行的某些任务保留的。它不时使用这些词来创建文件夹,并在其中存储数据以执行与打印和其他功能相关的任务。我们创建同名文件夹会使系统混乱。
不过,我们有以下技巧可以做到:p
Once the new folder is created, right-click on it and select the
option “Rename”. Hold down the ALT key and type 0160 from the numeric
keypad (ALT+0160) and release the ALT key. Now, the folder name should
go blank so that you can type any name of your choice such as “con”
and press Enter.
*取自https://www.gohacking.com/how-to-create-con-folder-in-windows/
我正在创建一个 java 包。 当我创建一个名为 'con' 的文件夹时,出现了这个错误。 然后我尝试在我电脑的任何其他文件夹中创建它,但我做不到。 这是一个奇妙的错误。有人知道为什么会这样吗?
原因是这些关键字是为 OS 执行的某些任务保留的。它不时使用这些词来创建文件夹,并在其中存储数据以执行与打印和其他功能相关的任务。我们创建同名文件夹会使系统混乱。
不过,我们有以下技巧可以做到:p
Once the new folder is created, right-click on it and select the option “Rename”. Hold down the ALT key and type 0160 from the numeric keypad (ALT+0160) and release the ALT key. Now, the folder name should go blank so that you can type any name of your choice such as “con” and press Enter.
*取自https://www.gohacking.com/how-to-create-con-folder-in-windows/