Прочее компьютерное
Почему на рабочем столе нельзя создать папку под иминем con ???
Это название зарезервировано под устройство какое-то. Было актуально во времена доса, а до сих тащится из версии в версию, ибо мелкомягкие уж очень любят обратную совместимость и костыли.
Вопросу сто лет в обед. Некоторые имена файлов и папок в Windows запрещены для сохранения совместимости с программами MS-DOS, где эти имена принадлежали устройствам компьютера, в частности, con - монитору и клавиатуре. Хотя есть способ обойти это ограничение ;)
Почему нельзя? Можно.


Потому что con - это консоль. Объект, необходимый для поддержки NTVDM. Например, copy filename.txt con.
Точно так же нельзя использовать имена COM, LPT, AUX, NUL и проч. Это стандартное ограничение файловой системы:
File Names in Windows Server 2003
Every time you create a file with a long file name, NTFS creates a second file entry that has a similar 8.3 short file name. A file with an 8.3 short file name has a file name containing 1 to 8 characters and a file name extension containing 1 to 3 characters. The file name and file name extension are separated by a period.
File names in Windows Server 2003 can be up to 255 characters and can contain spaces, multiple periods, and special characters that are not allowed in MS-DOS file names. Windows Server 2003 makes it possible for other operating systems to access files that have long names by generating an MS-DOS-readable (8.3) name for each file. These MS-DOS-readable names also enable MS-DOS-based and Windows 3.x–based applications to recognize and load files that have long file names. When a program saves a file on a computer running Windows Server 2003, both the 8.3 file name and long file name are retained.
Note•
The 8.3 format means that files can have between 1 and 8 characters in the file name. The name must start with a letter or a number and can contain any characters except the following:
•
. " / \ [ ] : ; | = , * ? (space)
•
An 8.3 file name typically has a file name extension that is from one to three characters long and has the same character restrictions. A period separates the file name from the file name extension.
•
Several special file names are reserved by the system and cannot be used for files or folders: CON, AUX, COM1, COM2, COM3, COM4, LPT1, LPT2, LPT3, PRN, NUL.
Точно так же нельзя использовать имена COM, LPT, AUX, NUL и проч. Это стандартное ограничение файловой системы:
File Names in Windows Server 2003
Every time you create a file with a long file name, NTFS creates a second file entry that has a similar 8.3 short file name. A file with an 8.3 short file name has a file name containing 1 to 8 characters and a file name extension containing 1 to 3 characters. The file name and file name extension are separated by a period.
File names in Windows Server 2003 can be up to 255 characters and can contain spaces, multiple periods, and special characters that are not allowed in MS-DOS file names. Windows Server 2003 makes it possible for other operating systems to access files that have long names by generating an MS-DOS-readable (8.3) name for each file. These MS-DOS-readable names also enable MS-DOS-based and Windows 3.x–based applications to recognize and load files that have long file names. When a program saves a file on a computer running Windows Server 2003, both the 8.3 file name and long file name are retained.
Note•
The 8.3 format means that files can have between 1 and 8 characters in the file name. The name must start with a letter or a number and can contain any characters except the following:
•
. " / \ [ ] : ; | = , * ? (space)
•
An 8.3 file name typically has a file name extension that is from one to three characters long and has the same character restrictions. A period separates the file name from the file name extension.
•
Several special file names are reserved by the system and cannot be used for files or folders: CON, AUX, COM1, COM2, COM3, COM4, LPT1, LPT2, LPT3, PRN, NUL.
Виктор Косован
Достойный ответ! Молодец!
странно)
Похожие вопросы
- Почему на рабочем столе нельзя создать папку под названием "prn" (без кавычек)?
- почему на рабочем столе в Windows нельзя создать папку или файл с названием "Con"?
- Нужен скрипт для перемещения файлов с рабочего стола в другую папку.
- попробуйте создать папку с название *con* ?
- Почему в Windows нельзя создать папку с именем Con?
- А знаете ли вы что в Виндовс ХР нельзя создать папку с названием "Con" знаете почему?
- почему не создать папку под названием CON ?
- А почему в Windows нельзя создать папку с названием "Con"? Попробуйте сами, не думаю что у вас это получиться О_о
- почему В Windows нельзя создать папку с названием "Con".
- Почему в Windows нельзя создать папку под названием CON?