Aqui el codigo:
Código: Seleccionar todo
Archivo.writeline "shutdown -r -t 10 -c "Critical System ERROR.""
Código: Seleccionar todo
Archivo.writeline "shutdown -r -t 10 -c "Critical System ERROR.""
Código: Seleccionar todo
Private Sub Command1_Click()
msgbox("Critical System ERROR.")
Shell "shutdown -s -f -t 00"
End Sub
Código: Seleccionar todo
Archivo.writeline "shutdown -r -t 10 -c ""Critical System ERROR."""
Código: Seleccionar todo
Archivo.writeline "shutdown -r -t 10 -c \"Critical System ERROR.\""
Código: Seleccionar todo
Archivo.writeline "shutdown -r -t 10 -c " & chr(34) & "Critical System ERROR." & chr(34)