I don't think it's BlitzMax, it's the system. I bet you're under Linux, right? It's your shell that substitute '?' with the list of the files in the current folder. Look up the documentation for your shell and you'll find how to disable the substitution.