-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
194 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
DiskTrim 1.2 by Antoni Sawicki and Tomasz Nowak | ||
DiskTrim 2.0 by Antoni Sawicki and Tomasz Nowak | ||
Requires Windows 2012 R2 / Windows 8.1 or above | ||
|
||
DiskTrim: a small command line application for Windows that allows | ||
to send ATA TRIM / SCSI UNMAP command directly to an SSD using SCSI | ||
pass through. It allows to securely erase contents of SSD drive and | ||
test whether TRIM actually worked. If you just want to test if your | ||
SSD supports TRIM under Windows without deleting it's contents, you | ||
can create and mount a small VHDX file and run DiskTrim on the VHDX | ||
instead of physical disk. | ||
DiskTrim -- a small command line utility for Windows that allows to | ||
send ATA TRIM and SCSI UNMAP commands directly to an SSD drive. The | ||
operation is performed arbitrarily on a full sector range from zero | ||
to the end. It securely erases contents of an entire SSD drive, and | ||
tests whether TRIM actually worked. | ||
|
||
If you just want to test if your SSD supports TRIM without deleting | ||
it's entire contents, you can simply create and mount a small .VHDX | ||
file on top and run DiskTrim on the VHDX instead of physical disk. | ||
|
||
WARNING: | ||
This utility is particularly dangerous and if used incorrectly - it | ||
will permanently destroy contents of your SSD drive, and delete all | ||
your data. Authors of this software application take absolutely no | ||
responsibility for use of this program and its consequences. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
set INCLUDE= | ||
set LIB= | ||
set LIBPATH= | ||
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 | ||
echo on | ||
cl /Fedisktrim-x64.exe disktrim.c | ||
|
||
set INCLUDE= | ||
set LIB= | ||
set LIBPATH= | ||
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64_x86 | ||
echo on | ||
cl /Fedisktrim-x86.exe disktrim.c | ||
|
||
set INCLUDE= | ||
set LIB= | ||
set LIBPATH= | ||
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64_arm | ||
echo on | ||
cl /D_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE /Fedisktrim-arm.exe disktrim.c | ||
|
||
pause |
Oops, something went wrong.