How to accept argument when .exe file is execute
- From: dahuzizyd@xxxxxxxxx
- Date: Tue, 31 Jul 2007 03:12:51 -0700
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 !!
.
- Prev by Date: Re: Code problems with Perform Thru Exit causes fall through
- Next by Date: How to accept parameter when .exe file is execute
- Previous by thread: Batch compiling Fujitsu COBOL
- Next by thread: How to accept parameter when .exe file is execute
- Index(es):