After complaining out loud about how long it took my laptop to boot up at work, a co-worker asked me how long it had been since my last de-fragmented my hard drive. Well, I had no idea when the last time was so I went to go do that. A couple of minutes later, my co-worker sent me an email with a .bat file and a new de-fragmentation tool called Contig (well not new but new to me).
The batch file simple did this:
c:
cd \
contig.exe -s .
defrag -f c:
contig.exe -s .
defrag -f c:
contig.exe -s .
defrag -f c:
contig.exe -s .
defrag -f c:
I started this up before I went to bed, the first run indicating that I was more than 30% fragmented. In the morning, it reported 0% fragmented. When I got to the office, it took about 10 minutes to boot up and have all my applications running (Outlook, FireFox, Eclipse, IM) compared to 20-30 minutes previously.
The moral of the story, don't neglect to maintain you pc. Just like you car needs to have the oil changed and the tires rotated, so too does your pc need to be de-fragmented and maintained.