问题描述
我创建了名为'asdf:qwer'的文件.
I created the file its name is 'asdf:qwer'.
'asdf'文件已创建,我输入了一些单词.
'asdf' file was created, and I input some words.
'asdf'的容量为0,十六进制没有内容.
'asdf' capacity is 0, Hex has no contents.
但是我会说些话.
-
它们来自哪里?
Where they come from?
Windows shell中冒号(:)的功能是什么?
What is colon(:)'s functions in Windows shell?
推荐答案
在Windows中,冒号不是文件名中允许的字符.或者,更准确地说,它用于寻址文件的备用数据流.因此,asdf:qwer
寻址名为asdf
的文件的名为qwer
的流.
Colon is not an allowed character in a filename in Windows. Or, more precisely, it is used to address an Alternate Data Stream of a file. So, asdf:qwer
addresses the stream named qwer
of the file named asdf
.
这与反斜杠非常相似. asdf\qwer
也不是有效的文件名,而是指向文件夹asdf
的文件qwer
.
This is very similar to the backslash. asdf\qwer
is also not a valid filename, instead it addresses the file qwer
of the folder asdf
.
这篇关于在Windows中使用冒号(“:")来创建文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!