Sign in to follow this  
Followers 0
0x90h

Execute my script with lpParam

2 posts in this topic

hi guys!

i feel no need to introduce myself as i am noone special so let me just ask my question, hehe ;P

how to make my script run only if user use correct lpParam for script execute, eg.

myScript.exe -cAP3#ap

also my question is how to check for any param typed by user.

thanks in advance ;P

Share this post


Link to post
Share on other sites



If $CmdLine[0] AND $CmdLine[1] = "-cAP3#ap" Then

;Do nothing

Else

Exit

EndIf

-or-

If NOT $CmdLine[0] OR $CmdLine[1] <> "-cAP3#ap" Then Exit

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0