Sorry, one more on GetOpts. I have read the help and examples, and it wasn't clear for me what to do when I want to have a "free parameter" (such as filename, etc.). Something like: MYPROG.EXE [filename] [/OPT1] [/OPT2=value] ... Aitor