In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.
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
Join the community of 500,000 technology professionals and ask your questions.