本文介绍了在Windows中使用冒号(“:")来创建文件名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了名为'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.

但是我会说些话.

  1. 它们来自哪里?

  1. 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中使用冒号(“:")来创建文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-16 21:02