powershell:extraer_zip_en_batch
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| powershell:extraer_zip_en_batch [2026/08/20 13:35] – adm.wiki | powershell:extraer_zip_en_batch [2026/08/26 14:57] (current) – adm.wiki | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Extraer .zip en Batch ====== | + | ====== Extraer .zip en Batch/ |
| + | **partiendo desde aqui:** | ||
| + | {{.: | ||
| **Codigo:** | **Codigo:** | ||
| - | <code powershell> | + | <code powershell |
| $files = Get-ChildItem " | $files = Get-ChildItem " | ||
| Line 30: | Line 32: | ||
| foreach (bucle), trabaja con $file | foreach (bucle), trabaja con $file | ||
| $destination = Join-Path " | $destination = Join-Path " | ||
| - | | + | variable, $file.Basename, |
| New-Item -ItemType Directory -Path $destination -Force | Out-Null | New-Item -ItemType Directory -Path $destination -Force | Out-Null | ||
| + | crea el directory " | ||
| Write-Host " | Write-Host " | ||
| + | Escribe/ | ||
| & " | & " | ||
| $file.FullName ` | $file.FullName ` | ||
| " | " | ||
| + | Descomprime en su carpeta destino, sin confirmacion, | ||
| Write-Host " | Write-Host " | ||
| - | | + | ultimo mensaje en la terminal, y luego viene el siguiente string del array. |
powershell/extraer_zip_en_batch.1787225758.txt.gz · Last modified: by adm.wiki
