Open mzy2240 opened 10 months ago
Can you share the error you're seeing?
No error but the generated file does not exist
then why there is no error?
These names behave like files, i.e. they support open, write and read, but they do different things than you expect, see e.g. https://msdn.microsoft.com/en-us/library/aa365247(VS.85).aspx.
There is simply no way to generate a file on Win-Os that with the basename "con". Renaming also doesn't work. If you want to make sure that such name is not used, check beforehand, e.g.
if lowercase(splitext(basename(filename))[1]) == "con"
@info "Filename '$(uppercase(basename(filename)))' not supported under Windows"
end
MWE:
Julia version: 1.9.2 Windows version: Windows 10 Enterprise 22H2