well after doing some work with Vista I can say the defragmentor is set up to run automatically without batch files. however the program gives you much less info then windows xp does. still have yet to try it with the command prompt.
Moderators: Management, Forum Experts
well after doing some work with Vista I can say the defragmentor is set up to run automatically without batch files. however the program gives you much less info then windows xp does. still have yet to try it with the command prompt.


I'm getting the "feeling" that the Vista defrag is a "RunOnce" type of program on the first boot; I have yet to see it running again. I have done the -b option in Vista and after a couple of those it seems to boot a bit quicker (5381)

no, go to My Computer-(the drive you have Vista installed on)-Properties-Tools-Defragment and it comes up with a dialog asking/telling you when the auto Defragment is. At least thats the way I remember it... Next time I boot into Vista I will check.


def C: @echo off
title DEFRAGGER %1%
color 0a
echo i am a defragging utility, i will defragment your hard disk. this will perform 10 passes!
echo the first paramater must be passed on as a capitol letter, and have a ":"!!! this is IMPORTANT!!!!
echo the drive letter is %1% , i hope this is right!
title %1% pass 1
defrag %1% -b
defrag %1% -v
title %1% pass 2
defrag %1% -b
defrag %1% -v
title %1% pass 3
defrag %1% -b
defrag %1% -v
title %1% pass 4
defrag %1% -b
defrag %1% -v
title %1% pass 5
defrag %1% -b
defrag %1% -v
'
title %1% pass 6
defrag %1% -b
defrag %1% -v
title %1% pass 7
defrag %1% -b
defrag %1% -v
title %1% pass 8
defrag %1% -b
defrag %1% -v
title %1% pass 9
defrag %1% -b
defrag %1% -v
title %1% pass 10
defrag %1% -b
defrag %1% -v
title DONE
pause
echo DONE


c0ldfyr3 wrote:l33t can i use this same code to defrag multiple drives? if so how. i am a little rusty on commands for DOS.




Users browsing this forum: No registered users and 0 guests