×

Loading...

I don't think there are any all-for-ever answers for your question

本文发表在 rolia.net 枫下论坛It seems to me that both dinglingling and I have misunderstood you. Let me try to help clarify your question. I though you were asking how to know the OPTION parameters for a Windows application; dinglingling thought you were asking how to set default value for OPTION parameters. After I saw your explaination of your question, it suddenly occurred to me that your were asking for DIFFERENT ways to to run a Windows application. Is my quess right?

You Windows application is presumably an
executable file (We usually call it an .exe file).
Generally, we have the following way to run it

1) Open MS-DOS and issue a command
---needs have a right PATH

2) Go to start|run

3) double-click an icon on the desktop, if any

4)Go to start|programmes|..., chose the right item using the mouse and release

For 2) 3) 4), we cannot specify parameters such as input file names

There is another way to run a Windows Application. As you install your applications such as IE, JBuilder, Adobe AcroReader,
the system will associate with some file extensions. In such case, you can double-click files to bring up your application. For instance, if you have notepad, you can bring it up by double click a file with an extension .txt. Similarly, by double-clicking a .xml file you will wake up IE5.

To know how many internative ways there are to run an application, we need accumulate experiences case by case.
This is my impression. Moreover, I don't think we need know all things. One of my colleagues always use the mouse and
seldom use the keyboard. This looks funny in my eyes but I have to show my respect to his
habit.

Recently, I used command on-line to run VC++ compiler to generate a .dll file. The command is lengthy and full of options.
I wrote a Windows scripting file to complete the task. However, I do believe I can do the same thing using Visual Studio by configuring some project properties.
But I don't have time to try that.


I would be appreciated if you could explain your question in more detail. Usually, if a question is too short, there will be some ambiguities.



Hope this can help.更多精彩文章及讨论,请光临枫下论坛 rolia.net
Sign in and Reply Report