Advertisement
Guest User

Untitled

a guest
Aug 29th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. @echo off
  2. call :inputbox "Enter the imput" "JIFFY"
  3. echo You entered %Input% too late to back down now :)
  4. start "search1" "www.google.com"`enter code here`
  5. start "search2" "www.duckduckgo.com"
  6. start "search3" "www.wolframalpha.com"
  7. exit /b
  8. :InputBox
  9. set input=
  10. set heading=%~2
  11. set message=%~1
  12. echo wscript.echo inputbox(WScript.Arguments(1),WScript.Arguments(0)) >"%temp%input.vbs"
  13. for /f "tokens=* delims=" %%a in ('cscript //nologo "%temp%input.vbs" "%message%" "%heading%"') do set input=%%a
  14. exit /b
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement