by Lhyam Sumal (1 Submission)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 7th July 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Various shut down options for Windows XP
' Switches:
' -l Log off profile
' -s Shut down computer
' -r Restart computer
' -f Force applications to close
' -t Set a timeout for shutdown
' -m \\computer name Shut down remote computer
' -i Show the Shutdown GUI
' Example of shutdown:
Shell ("Shutdown -s -t 5") ' Shuts computer down after timeout of 5