How to Search the Web in a Batch File

Introduction: How to Search the Web in a Batch File

About: Returning to Instructables.com To show off my new batch game in the works Called Asteroid Belt! - Raven

This program allows you to search any website from your desktop

made by me raven

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Open Notepad

Open notepad

Step 2: How to Make Program

type this (does not need spaces)

@echo off
:web

color f0
title Web Browser

mode 40,10
CLS

echo.
echo OPEN ANY WEBSITE FROM YOUR DESKTOP

echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo º Type In A Website URL º

echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
ECHO.

SET /p webother=
START %webother%

goto web

Step 3: How to Save Program

save as web.bat

Be the First to Share

    Recommendations

    • Tiny Speed Challenge

      Tiny Speed Challenge
    • Clocks Contest

      Clocks Contest
    • PCB Design Challenge

      PCB Design Challenge

    5 Discussions

    0
    mayank.charlotte
    mayank.charlotte

    Tip 8 weeks ago

    Improved version:
    :x
    @echo off
    color F0
    title Search the Web
    mode 40,10
    CLS
    echo Google in Batch for %username%
    echo Doing a search? Type pluses between the words if you aren't doing a url.
    SET /p webother=Search The Web:
    START CHROME %webother%
    START CHROME www.google.com/search?q=%webother%
    goto x

    0
    markc100
    markc100

    4 years ago

    Thanks! Very cool project. :)

    0
    ice400
    ice400

    5 years ago

    cheers for following me mate, I can't wait to show you what I've learned by reading you're instructables I'm starting my own one soon

    0
    Raven Codes
    Raven Codes

    Reply 5 years ago on Introduction

    cool bro good luck maybe we could do a batch file project together sometime

    0
    ice400
    ice400

    Reply 5 years ago on Introduction

    Love to do that soon, I'm working on different projects at the moment I'll comment on your instructable when I'm ready