Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Visual Basic >> Snippet

Reboot, restart or logoff system (XP only)


'log off
Shell "shutdown -l -t 00"
Unload Me

'reboot
Shell "shutdown -r -t 00"
Unload Me

'shutdown
Shell "shutdown -d -t 00"
Unload Me