- <# :
- @echo off
- del 提取.txt>nul 2>nul
- powershell -NoProfile -ExecutionPolicy bypass "Get-Content -literal '%~f0' |Out-String|Invoke-Expression"
- echo 已完成!&pause
- #>
- dir|?{$_ -is [System.IO.FileInfo] -and $_.Extension -eq ".txt" -and $_.Name -ne "提取.txt"}|%{gc $_|?{$_.Contains("https")}|%{$_ >>提取.txt}}
复制代码
|