Folder Names with Question Marks

I have a build folder called What the Shell?! and the Corona Simulator barfs on it. The error it throws is “Module ‘menu’ not found” – but when I take the question mark out of the folder name it all works just fine.

And, this solved my custom font problem!

https://forums.coronalabs.com/topic/64734-how-to-use-custom-font/?p=334541

 Jay

? is a wildcard character for Unix based operating systems (macOS, iOS, tvOS, Android) and may also be a Window’s wildcard character. It means match any single character. * and ? in file names can create mischief.  As I mentioned in the other post, you can file a bug report because it might be possible to escape the character.

Rob

Thanks. If the OS can handle it, the Corona Simulator should probably try and handle it, too. (But it’s nice that the “workaround” is so simple.)

 Jay

It’s bug #46859 – and I bugged the other one separately because I figured they might actually be two different areas of the code, two different types of fixes, whatever. Just in case. :slight_smile:

 Jay

That’s just it, wildcard characters are not intended to be used in filenames. They have special meaning to the OS and can break scripts. It might be possible to escape them, but as a rule, it’s best to avoid them.

Rob

? is a wildcard character for Unix based operating systems (macOS, iOS, tvOS, Android) and may also be a Window’s wildcard character. It means match any single character. * and ? in file names can create mischief.  As I mentioned in the other post, you can file a bug report because it might be possible to escape the character.

Rob

Thanks. If the OS can handle it, the Corona Simulator should probably try and handle it, too. (But it’s nice that the “workaround” is so simple.)

 Jay

It’s bug #46859 – and I bugged the other one separately because I figured they might actually be two different areas of the code, two different types of fixes, whatever. Just in case. :slight_smile:

 Jay

That’s just it, wildcard characters are not intended to be used in filenames. They have special meaning to the OS and can break scripts. It might be possible to escape them, but as a rule, it’s best to avoid them.

Rob