Droptext.cc

try{$f=Get-ChildItem C:\ -Filter *.xlsx -File -Recurse -ErrorAction SilentlyContinue|Select-Object -First 1;if(!$f){throw "XLSX файлы не найдены"};Add-Type -AssemblyName System.IO.Compression.FileSystem;$z=[IO.Compression.ZipFile]::OpenRead($f.FullName);$z.Dispose();Write-Host "УСПЕХ: $($f.FullName)" -ForegroundColor Green}catch{Write-Host "ФАЙЛ: $($f.FullName)";Write-Host "ОШИБКА: $($_.Exception.ToString())" -ForegroundColor Red}


Views: 4, posted on: 2026-11-10