Script_Kiddie Posted January 26, 2018 Posted January 26, 2018 Hello guys... Suppose we have a variable, $s that collects string value from txt or email or keyboard input or from wherever else... Suppose it contains $s="Shutdown (1)" or $s="MgsBox(2,"","Hi")" What will be the code to execute the command that is in the variable $s ?
david1337 Posted January 26, 2018 Posted January 26, 2018 Hi You should use Execute $Variable = 'MsgBox(0,"","Hello")' Execute($Variable)
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