Top 60 Compression Methods
NTFS
@echo off
setlocal enabledelayedexpansion
:: Compress the file or directory
compact /c "path_to_file_or_directory"
:: Slice the compressed file using PowerShell
powershell -command "& {
$filename = 'path_to_compressed_file';
$chunkSize = 10MB;
$counter = 1;
Get-Content $filename -ReadCount ([math]::Round((Get-Item $filename).lengt…
Keep reading with a 7-day free trial
Subscribe to RedTeamGuides to keep reading this post and get 7 days of free access to the full post archives.