I have some files on my C drive with colons in their names. I'm pretty sure they were created in some Linux distro I used before. I know Linux supports colons in file names, while Windows does not. Linux even allows saving files with colons on Microsoft's NTFS file system. I currently don't have the Linux distro installed. I only have Windows installed. So now that I'm back in Windows, how am I supposed to open this file? Install Linux again? Renaming doesn't work, because I get an error. Is there no way to open these files in Windows without using Linux? They are PNG picture files, so Windows can read them, but it doesn't find them because the file paths are invalid.
If I double click on one of the files, Windows Photo Gallery tries to open it and reports:
There are no pictures or videos selected.
If I try to open it in Microsoft Paint it reports:
C:\file:name.png contains an invalid path.
If I try to rename it in Windows Explorer (e.g. replace colonns with underscores) it reports:
The file name you specified is no valid or too long. Specify a different file name.
Following characters are forbidden in file names in Windows.
A file name cannot contain any of the following characters. \/:*?<>|
Surely, Linux developers must be aware of these restrictions? I don't see why they would allow Linux to save colons in file names on NTFS partitions... doesn't make sense. Even if Linux itself can read them, chances are that these partitions are read in a Windows system as well (in case of dual boot or shared disks).
These files were named and saved automatically, so it's not my fault the colons were introduced in the names.