Running defrag.exe from Unattended Install Batch File?

Soldato
Joined
18 Oct 2002
Posts
7,520
Location
Glasgow
I've created a large DVD of Windows XP unattended with various hotfixes and applications though once it's complete the disk is badly fragmented to the point I'm thinking of automating the process at the end of the batch file.

Has anyone else done this from their disc or can advise me on any tips? I'm guessing the command I'll be running will be:

Code:
start /wait defrag.exe %systemdrive%

Where %systemdrive% will be the C:\ on my installation. :)
 
Back
Top Bottom