Question Locked

VB SCRIPT

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

i need a vb script to force a shutdown a specific time... i search on google all i can find is a script to shut it down or to a remote computer...

i just want something i can run so i can leave my computer downloading untill 11am so i dont go over my cap...

cheers

2 replies

by bizzo

Use the shutdown command, and set the timeout, so:

shutdown -s -t 10800 -f

Will shutdown the machine in 10800 seconds (3 hours) and force closure of all running programs.

Alternatively, set up a scheduled task to run the shutdown command, so you can shutdown at a specific time.

This discussion is closed to new replies.