Quote:
Originally Posted by BASpro
I tried As-clearner and it will not start up - "The application failed to initialize..." error pops up. Do you know what is preventing it from starting?
|
Not worth figuring out what the problem is. Can do the same with the workaround below.
Workaround manual GC
1. Run PerfectDisk, do "Consolidate Disk Space"
2. Download
nulls.bin and copy to c:\test. nulls.bin is a 1k file of 0xFF (nulls)
3. Save code below as c:\test\cleaner.bat and run c:\test\cleaner.bat
cleaner.bat
Code:
@echo off
: Backup nulls.bin
set a=0
copy nulls.bin junk%a%.bin
:loop
:: Repeat, doubling the size of the NULLs file on each loop until run out of
:: space. Effectively appends NULLS to the remaining free space on the SSD.
set /a b=%a% + 1
copy junk%a%.bin + junk%a%.bin junk%b%.bin /b
set /a a=%b%
goto loop
4. It will eventually fail with "not enough disk space" type error, upon which repeat steps 2-3 in directory "c:\test2" to fill remaining space.
5. Once complete delete c:\test and c:\test2 directories.