Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- title "/search" to start search
- setlocal enabledelayedexpansion
- color 0a
- mode 300, 100
- :s_init
- cls
- set c=1
- :input
- set /p in=Keyword %c%:
- if "%in:~0,1%" == "{" set c=1
- if "%in%" == "/search" goto mk_link
- echo %in%>>input.txt
- set /a c=%c% + 1
- goto input
- :mk_link
- set content=
- for /F "delims=" %%i in (input.txt) do set content=!content!^+%%i
- set engine0=https://www.google.com/#q=
- set link0=%engine0%%content%
- goto search
- :search
- start chrome %link0% && del input.txt && endlocal && exit
- start %link0% && del input.txt && endlocal && exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement