Jump to content
Sign in to follow this  

Execute my script with lpParam

Recommended Posts


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





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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.