Disable wildcards for AppArgs

BlitzMax Forums/BlitzMax Programming/Disable wildcards for AppArgs

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi, I'm making a command-line app and it accepts "/?" as a parameter to show the help
I've been fighting with my code til I realized that when using '?' or '*' as parameters to call the application, they are interpreted as filesystem wildcards... an example:

Print ("AppArgs ("+AppArgs.Length+" elements):")
For I:Int = 0 To (AppArgs.Length - 1)
	Print (AppArgs[I])
Next

(If you call this app with "app *" AppArgs includes the full list of files in the folder as parameters)

I don't know if this is a bug or a feature, but is there a way to disable it? I want to read ? and * as normal characters...

Any help appreciated... and sorry for my English x)