Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Sub sbDefrag() set WshShell = CreateObject("WScript.Shell") Dim WshShell, Result, objFSO, objNetwork Result = WshShell.Popup("Weekly Computer Maintenance Is Being Preformed Please Do Not Log onto this Machine! The I.T. Department.", 10, "Title", 65) If result = 1 or Result = -1 THEN set WshShell = CreateObject("WScript.Shell") 'Runs a clean up on the C: Drive WshShell.Run "cleanmgr /sagerun:100" WScript.Sleep 5000 'Cleans out the WIndows XP Prefetch directory Const DeleteReadOnly = True Set objFSO = CreateObject("Scripting.FileSystemObject") objFSO.DeleteFile("C:\WINDOWS\Prefetch\*.*"), DeleteReadOnly objFSO.DeleteFile("C:\WINDOWS\Prefetch\*"), DeleteReadOnly
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.