powershell:extraer_zip_en_batch
This is an old revision of the document!
Extraer .zip en Batch
Codigo:
<code powershell> $files = Get-ChildItem “F:\x360” -Filter “*.7z” -File
foreach ($file in $files) {
$destination = Join-Path "G:\x360iso" $file.BaseName
New-Item -ItemType Directory -Path $destination -Force | Out-Null
Write-Host "Extrayendo: $($file.Name)"
& "C:\Program Files\7-Zip\7z.exe" x -y `
$file.FullName `
"-o$destination"
Write-Host "Terminado: $($file.Name)"
} </code powershell>
powershell/extraer_zip_en_batch.1787225221.txt.gz · Last modified: by adm.wiki
