MGadAllah Posted September 23, 2006 Posted September 23, 2006 Hi all:I've created a task to be running once per week to defrage my boot partetion,there are two issues I'd like to ask about:1- does windows default defrage application is good enough to be used or I should use another one like disk keeper or 0&0 defrage?2- I've created the following task to be run as I've mentioned above:C:\WINDOWS\system32\dfrg.mscit did started right but it did not start the defragementation process, how to le it start the defrage automatically?Thanks
Delprat Posted September 23, 2006 Posted September 23, 2006 1- does windows default defrage application is good enough to be used or I should use another one like disk keeper or 0&0 defrage?Long short story : Yes for any "normal" home userDiskeeper is not really much efficient, only faster (way faster)O&O is designed for maniacs of the "i don't want ANY free cluster between my files. Line up in order ! One Two ! One Two !"PerfectDisk features the most colorful interface and acheive similar results than Diskeeper.Obviously, "professionals" (like people running a huge database, or a file server, or ...) will see benefits of switching to one of those paid apps.++
MGadAllah Posted September 23, 2006 Author Posted September 23, 2006 Yes for any "normal" home userYes... I'm a normal home user but want efficient tool, so I'm only interested in result more then any thing else. Also my HD is SATA 160GB, and my PC is runing most of the time Use defrag.exe from a batchHow to do it?Thanks
Delprat Posted September 23, 2006 Posted September 23, 2006 Yes... I'm a normal home user but want efficient tool, so I'm only interested in result more then any thing else. Also my HD is SATA 160GB, and my PC is runing most of the time Ever heard of the simpsons ?I will not start trolling about the best defragger.I will not start trolling about the best defragger.I will not start trolling about the best defragger.I will not start trolling about the best defragger.I will not start trolling about the best defragger.I will not start trolling about the best defragger.I will not start trolling about the best defragger.I will not start trolling about the best defragger.I will not start trolling about the best defragger.I will not start trolling about the best defragger. Seriously, since you're normal, you sometimes need to sleep, so you don't *really* need to have a "super-stealth-and-transparent" background defragmenter.just put :defrag.exe c: -fin the batch++
MGadAllah Posted September 23, 2006 Author Posted September 23, 2006 (edited) Windows default defrage is really enough for me, and I will try to minimize the number of installed applications on my pc as I could but I'm afraid to tell that I do not know how to creat a batch for such a thing, can you give me a hand with this issue?thanks Edited September 23, 2006 by mgadallah
Delprat Posted September 23, 2006 Posted September 23, 2006 The batch :open notepad, type in the line i gave you, and save as "defrag.cmd" (type the quotes in the save as dialog to ensure it will not get .txt added).Lastly point to this file where you pointed to dfrg.msc in the scheduled task.Minimizing the number of installed applications has few impact on fragmentation., but installing/removing apps frequently is a bad idea.++
MGadAllah Posted September 23, 2006 Author Posted September 23, 2006 Here is what I foundit does not urn the taskjust display the report in command prompet defrag.cmd
dhdan Posted September 23, 2006 Posted September 23, 2006 It shows an analysis first then defrags. It will also show an analysis when it's done. If you notice your hard drive light should show it is quite busy between the two. Type that same command into a command prompt window and you'll see what it does.
gunsmokingman Posted September 23, 2006 Posted September 23, 2006 (edited) Here is a VBS script that will defrag all the local Hard Drives.Save As DefragDrives.vbsDim Act : Set Act = CreateObject("Wscript.Shell") Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject") Dim Drv, StrD, GB : GB = 1073741824 Set Drv = Fso.Drives For Each StrD In Drv If StrD.DriveType = 2 Then Act.Popup "Preparing to defrag this drive" & vbCrLf &_ "Drive" & Space(6) & Chr(62) & " " & StrD & "\" & vbCrLf &_ "Volume" & Space(2) & Chr(62) & " " & StrD.VolumeName & vbCrLf &_ "DiskSize " & Chr(62) & " " & Left(round(StrD.TotalSize/GB,4),5) & " GB" & vbCrLf &_ "DiskFree " & Chr(62) & " " & Left(round(StrD.FreeSpace/GB,4),5) & " GB",4,"Defrag", 0 + 32 + 4096 Act.Run("Defrag " & strD & "\ -F"),2,True End If Next Edited September 23, 2006 by gunsmokingman
MGadAllah Posted September 23, 2006 Author Posted September 23, 2006 Thanks a lot guysIt worksthanks, I really do not want to use any other utility for defrage but windows defalt
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now