mbucari1
03-06-2008, 10:20 PM
Ok, I wrote this script to increase the allocation size of window's Master File Table. It's useful to have a buffer in the MFT so that it won't fragment as easily. A fragmented MFT leeds to slower file access time. If you've just formated a Hard Drive and want to give your new MFT a buffer, or want to keep your OS disk running fast, give this a try :)
Copy the script and paste it into a text file.
Save it as something.bat.
Run the batch file.
You will be asked by how much you want to increase the MFT. For system drives I'd suggest ~50000. Storage Drives I'd suggest 100000 if you plan for MANY small files or 30000 if you plan for fewer large files.
@echo off
set /p input="Enter Size of desired MFT padding in KB "
cls
set percent=%input%
set /a percent/=100
set c=1
mkdir mft
cd mft
:s
set /a n+=1
echo. > %n%
if %n%==%input% goto e
set x=%percent%
set /a x*=%c%
if %n%==%x% goto math
goto s
:math
cls
echo %c%%% Complete
set /a c+=1
goto s
:e
cd ..
rmdir mft /s /q
Copy the script and paste it into a text file.
Save it as something.bat.
Run the batch file.
You will be asked by how much you want to increase the MFT. For system drives I'd suggest ~50000. Storage Drives I'd suggest 100000 if you plan for MANY small files or 30000 if you plan for fewer large files.
@echo off
set /p input="Enter Size of desired MFT padding in KB "
cls
set percent=%input%
set /a percent/=100
set c=1
mkdir mft
cd mft
:s
set /a n+=1
echo. > %n%
if %n%==%input% goto e
set x=%percent%
set /a x*=%c%
if %n%==%x% goto math
goto s
:math
cls
echo %c%%% Complete
set /a c+=1
goto s
:e
cd ..
rmdir mft /s /q