How to accept argument when .exe file is execute



Hi All:

I used Pro*Cobol to compile a .pco file to .exe file .

Now i want to accept argument in console .
Such as :
In windows command window:
C:\>MyProgram.exe argument1

When the MyProgram.exe is Loading. cobol code will accept argument1 as
the file name I want to used.
I used ACCEPT ... FROM COMMAND-LINE. but has no effect.

Somebody can help me??

Thanks a lot !!

.