Roger: Getopt::Long won't work because perl (and program modules) only see what the command shell passes them, after the command shell is done interpreting (in this case, mis-interpreting) the args.
BrowserUK and others have provided a method to reach around the command shell and get what the user originally typed in.
Update: On second thought - it probably IS a good idea to use Getopt::Long after getting the args from the Windows Kernel.
"Experience is a wonderful thing. It enables you to recognize a mistake when you make it again."
| [reply] |