Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

How to accept parameter when .exe file is execute
Hi All:

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


Now i want to accept parameterin console .
Such as :
In windows command window:
C:\>MyProgram.exe parameter1


When the MyProgram.exe is Loading. cobol code will accept parameter1
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 !!


Report this thread to moderator Post Follow-up to this message
Old Post
dahuzizyd@gmail.com
07-31-07 12:55 PM


Re: How to accept parameter when .exe file is execute
On Jul 31, 3:21 am, dahuzi...@gmail.com wrote:
> Hi All:
>
> I used Pro*Cobol to compile a .pco file to .exe file .
>
> Now i want to accept parameterin console .
> Such as :
> In windows command window:
> C:\>MyProgram.exe parameter1
>
> When the MyProgram.exe is Loading. cobol code will accept parameter1
> 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 !!


Hi,

The following webinks should give you some pointers:

http://www.simotime.com/nxcsys01.htm

http://www.simotime.com/simoexec.htm

Kellie.



Report this thread to moderator Post Follow-up to this message
Old Post
Kellie Fitton
07-31-07 11:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:35 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.