First post, by Malvineous
- Rank
- Oldbie
Hi everyone,
In DOSBox 0.65 (under Linux at least) if you try to create a file with brackets in the filename, it doesn't work:
C:\>dir > a[b
The debug messages indicate the file is being created but it never is. Likewise if you create a file outside of DOSBox:
$ touch "b[c"
Then try to access it from within DOSBox:
C:\>dir
C:\>type b[c
You can see the file is there, but you can't access it. This isn't a problem with the shell, as DOS file manipulation programs also can't access these files.
I'm not sure what the correct DOS-like behaviour is meant to be (whether it should allow square brackets or reject/escape them) but I think these characters are allowed in filenames under Windows, so the same is probably true for DOS.