Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

I want to give a programm a argument how can i do it?

Posted on 2002-05-26
2
Medium Priority
?
144 Views
Last Modified: 2010-05-02
Hi!

I want to compile my exe and want to give an argument to autoexecute the file.

e.g. example.exe -auto

how can i know from the programm that i have called it with the parameter/argument auto?

Falke
0
Comment
Question by:Falke
2 Comments
 
LVL 3

Expert Comment

by:Bahnass
ID: 7035051

it is just Command$

0
 
LVL 33

Accepted Solution

by:
hongjun earned 200 total points
ID: 7035052
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question