adored Posted June 28, 2006 Posted June 28, 2006 Hey, id like to know how i make parameters for my program like this "myprogram.exe" -title Test -msg Hey Woud start somting like this MsgBox (0, $title, $msg) Great thnx, adored
herewasplato Posted June 28, 2006 Posted June 28, 2006 See the help file under "Command Line Parameters" [size="1"][font="Arial"].[u].[/u][/font][/size]
MHz Posted June 28, 2006 Posted June 28, 2006 Not the best, but does show the basic operation of handling Command Line Parameters If $CMDLINE[0] = 4 Then If $CMDLINE[1] = '-title' Then $title = $CMDLINE[2] If $CMDLINE[3] = '-msg' Then $msg = $CMDLINE[4] MsgBox (0, $title, $msg) EndIf EndIf EndIf
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now