Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shutdown vbscript

Status
Not open for further replies.

SilentWings

Programmer
Apr 24, 2002
27
PT
Hello ppl,

I have a vbscript (to run in Windows 2000 professional) that I got in windows.com but when I execute it, remains in the computer a window saying "It’s now safe to shutdown your computer"
I need a script that really turns the power off.
Can someone help me?
Thanks in advance
 
Does it have to be a vbscript?

There is a few shutdown tools which you can schedule to run at certain times or put in a batch file with the right switches that will let you shutdown your machine.

---
Make the best use of what is in your power, and take the rest as it happens.
 
I'm doing a .bat file in order to defrag the disk and the sql databases. This process will run at night. When finished I want the computer to shutdown (power off).

Thnaks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top