- Home
·
- Miscellaneous
·
- Shut down or restart the computer with a single line of code. No declarations required.
Shut down or restart the computer with a single line of code. No declarations required.
Shut down or restart the computer with a single line of code. No declarations required.
Rate Shut down or restart the computer with a single line of code. No declarations required.
(1(1 Vote))
To shutdown:- "c:\windows\rundll.exe user.exe,exitwindows"
To restart:- "c:\windows\rundll.exe user.exe,exitwindowsexec"
'If you want to use it in VB, type as:
shell "c:\windows\rundll.exe user.exe,exitwindows", vbHide
or
shell "c:\windows\rundll.exe user.exe,exitwindowsexec", vbHide
Shut down or restart the computer with a single line of code. No declarations required. Comments
No comments yet — be the first to post one!
Post a Comment