Link to home
Start Free TrialLog in
Avatar of asherap
asherap

asked on

Shell Command Variables

I have a TextBox, 2 radiobuttons and a "Execute" button.
The command button has

If RadioButton1.Checked Then Shell("shutdown -s -f -t 90")
 If RadioButton2.Checked Then Shell("shutdown -r -f -t 90")


What i want to have is that the TextBox1 control the -t (time) of the shutdown/restart

What would the code be
ASKER CERTIFIED SOLUTION
Avatar of RonaldBiemans
RonaldBiemans

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of asherap
asherap

ASKER

saved the day mate thx