test.bat- #&cls&@powershell -Sta -c "Get-Content '%~0' | Out-String | Invoke-Expression" &pause&exit
- [void][System.Reflection.Assembly]::LoadWithPartialName('PresentationCore')
- if([System.Windows.Clipboard]::ContainsText()){
- $url = [System.Windows.Clipboard]::GetText().Trim() -replace '<playpath>','/'
- 'ffmpeg -i "{0}" -c copy "E:\123.ts"' -f $url | Invoke-Expression
- }
复制代码
|