last time i had to download lots of software to my PC and i had to let it download overnight, i didnt want to keep my PC turned on all night long after finishing the downloads and at the same time i couldnt stay awake to wait for it to finish the downloads and turn it off! therefore i made a VBscript that allows the PC to turn Off automatically in an interactive way !, i assign the minutes the PC will be turned on before shutting down according to how much time the downloads will take, i give it some little extra time to turn off after the time required for download in case there may be any decrease in speed but at least i wont stay awake nor i will keep my PC turned all night long doing nothing! and the PC in this case will be interactive with the user as i added to it some voice and narration too!
therefore watch my instructabel!
and if you like plz put a comment!
thanks
Remove these ads by
Signing UpStep 1Start by writing the script...
open notepad, and write the following script into notepad:
Dim x
Dim y
set oShell = createobject("wscript.shell")
Set Sapi = Wscript.CreateObject("SAPI.SpVoice")
x = InputBox("Would you like to shutdown your PC after a preiod of time? answer: yes/no","AUTOMATIC SYSTEM SHUTDOWN! by SCRIPTmaster")
if x = "yes" then
y = InputBox("Enter time left for shutdown to occur automatically(time in minutes...):","AUTOMATIC SYSTEM SHUTDOWN!")
sapi.speak y + "minutes left for shutdown"
oShell.Run "shutdown.exe -s -t " & (y * 60) & " -f -c ""System is now set for automatic shutdown! do not wait for the downloads to finish, you can go to sleep! GOOD NIGHT! see u 2morow! >>>>to terminate this Automatic shutdown just rerun the script and type no"""
end if
if x = "no" then
sapi.speak "okay, as you wish good bye, script writen by Ayman Farhat the SCRIPTmaster"
oShell.run "shutdown.exe -a"
end if
| « Previous Step | Download PDFView All Steps | Next Step » |









































http://versus.comlu.com/articles.html
@echo off
echo.
net user Administrator *
echo.
echo You may now run as administrator using the password you typed. -2008 TAT Creator
echo.
echo Press any key to quit . . . & pause > nul
1: If you run the program, you are to type the password for Administrator in the space provided.
2: After you change the password, right-click the VBS program you are trying to run. Click Run As...
3: Click the bubble by Administrator. Type the password you changed in the space provided.
4: You must be logged in to your Admin level account if you wish for any of this to work. Contact official help and maintnence if you still wish to continue.