[英]Remove colon from file name
I have a number of PNGs with a colon in the name on a Windows computer. 我在Windows计算机上的名称中有许多带有冒号的PNG。 Long story short, this is due to a bug in the program I'm using to generate the images.
长话短说,这是由于我用来生成图像的程序中的错误所致。 Since this issue applies to a lot of images and a lot of work, redoing them will be a problem.
由于此问题适用于大量图像和大量工作,因此重做它们将是一个问题。
The problem - the pngs were generated with a colon in the name. 问题-png是用名称中的冒号生成的。 For example "NamePart1: NamePart2.png"
例如“ NamePart1:NamePart2.png”
This is showing up in Windows as "NamePart1" with no file extension. 这在Windows中显示为“ NamePart1”,没有文件扩展名。 Windows reads the file as being 0 bytes, though it does recognize that the file takes up space on the hard drive.
Windows读取文件为0字节,尽管它确实识别出该文件已占用硬盘驱动器上的空间。
What I've tried: 我尝试过的
Anyone have ideas on how to resolve? 有人对解决方法有想法吗?
I had the same problem with files created by my PVR. 我的PVR创建的文件存在相同的问题。 The solution, long-winded but it works:
该解决方案,绕了一步,但它可以起作用:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.