4
教你如何在Windiws平台上创建以点(.)开头的文件名
source link: https://blogread.cn/it/article/6902?f=hot1
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
教你如何在Windiws平台上创建以点(.)开头的文件名
浏览:1020次 出处信息
如果你在Windows桌面上点击右键,创建一个文件,并试图把这个文件命名为以点(.)开头的名称,就像下面这样:
比如,把它命名成 .gitignore
Windows会提示你文件名错误。
但是,如果你仅仅输入 .gitignore 这个名称,而且还将名称后再加一个点(.),像下面这样
.gitignore.
这样就没有任何错误提示,可以命名成功。
感谢Mads提供了这个技巧!
注意: 上面的实例中我们的文件扩展名都是显示出来的,如果你不是程序员,你的电脑上可能是隐藏文件扩展名。;)
觉得文章有用?立即:
和朋友一起 共学习 共进步!
QQ技术交流群:445447336,欢迎加入!
扫一扫订阅我的微信号:IT技术博客大学习
扫一扫订阅我的微信号:IT技术博客大学习
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK