10 lines
381 B
PowerShell
10 lines
381 B
PowerShell
# Copy Extract.py and *.zip to the desktop.
|
|
# Regex the password from the zip's filename. Copy to var
|
|
# Open 7zip, extract to desktop, input password.
|
|
# take all *.eml and make .mht copies.
|
|
|
|
Copy-Item './extract.py' '..';
|
|
|
|
Get-ChildItem | Where-Object { $_.name -match '\.zip'} | ForEach-Object {Write-Output $_.name; Copy-Item -Path $_.name -Destination '..' }
|
|
|
|
Write-Output Done; |