Skip to content

Instantly share code, notes, and snippets.

@FatihDurmus
Created April 18, 2021 01:37
Show Gist options
  • Save FatihDurmus/5c9d4cfe94ad2e972ef1c6f2383cec98 to your computer and use it in GitHub Desktop.
Save FatihDurmus/5c9d4cfe94ad2e972ef1c6f2383cec98 to your computer and use it in GitHub Desktop.
$filex = Get-ChildItem C:\somewhere\anotherfolder\anotherfolder\lastfolder\ -recurse -Filter *coolfile.exe
$finall = "$filex http://speedtest.tele2.net/10MB.zip"+$env:APPDATA+"\101x.zip"
$ShellExp = New-Object -ComObject Shell.Application
$ShellExp.open($finall)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment