cramaboule Posted December 18, 2008 Share Posted December 18, 2008 im having trouble getting this command to work.. its definitely a quotes issue trying to get quotes right around the "shutdown...... /st" and quotes around the $Guictrlread($message) Run(@ComSpec & ' /c schtasks /create /s \\' & $asset & ' /Ru SYSTEM /sc once /tn Dashboard-Restart /tr "shutdown -r -f -t 300 -c ' & '"' & GUICtrlRead($message) & '"' & '" /st ' & GUICtrlRead($time), "", @SW_HIDE) exemple I use in a script for playing video with MPC My Autoit programs: MAC Address - - Delete Temp Files - - Ping Test - - Play Video with VLC full screen dual monitors - - Set IP - - Pics Converter - - AutoUpdater - - CPU Usage - - Ending Script Nicely - - GDI+ GUI crossfades (slide transitions) - - Beamer - - Search and Search in Files - - Silent Ninite Others: Export Icons into Dll - - My website Link to comment Share on other sites More sharing options...
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