Delphi: Command Line Parameters within the IDE?
Question by Guest | 2012-10-22 at 15:09
I'm working on a program that is operable with parameters via the command line. The development, however, proves to be extremely complicated and time consuming, because I have to run the program from the command line after compiling again and again, rather than testing the program directly out of the Delphi IDE.
Are there any ways to pass parameters directly in the Delphi IDE to run and use the application? This would make it much more easier.
Related Topics
Delphi/Lazarus: Command Line Parameter Tutorial Part 1: Sending
Tutorial | 0 Comments
Windows Batch Script: Computer Shutdown
Tutorial | 2 Comments
Delphi/Lazarus: Command Line Parameter Tutorial Part 2: Receiving
Tutorial | 0 Comments
How to Replace multiple Texts at the same Time
Tutorial | 0 Comments
Rewrite Text Files with a fixed Line Length
Tutorial | 0 Comments
Repair Text Files with mixed Line Breaks
Tutorial | 0 Comments
Delphi: Multiline Caption for TLabel (at Run Time and Design Time)
Tutorial | 1 Comment
Important Note
Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.
Participate
Ask your own question or write your own article on askingbox.com. That’s how it’s done.
It is possible, you can set the parameters directly from the IDE:
For example, "param1 param2" to pass "param1" and "param2" to the program.
If you have set this, the program will start after compiling with these parameters. The parameters are not stored in the EXE, so that the program itself remains identical.
2012-10-23 at 15:17