dim objShell Set WshShell = CreateObject("WScript.Shell") userschoice = Msgbox("The Computer is shuting down now", VBOKCancel + vbExclamation,"Caution") If vbOK Then objShell.Run "shutdown.exe -s -t 30" else Msgbox "Shutdown abortet" End if
|MS Project Resource Pool - Material and Cost sharing vs Work||1||43|
|question about windows batch/script||3||52|
|CMD BAT file script SET / Delayed Expansion issue in FOR/DO construct||4||31|
|Need help modifying a script to help search for files with specific values in names||22||25|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
24 Experts available now in Live!