Do you hate having to go through so many web pages just to look something up on Wikipedia? You could just set the English Wikipedia to your home page, or you could do this!
It is a simple batch file that asks for the search topic, then brings you to the Wikipedia entry on that topic.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Making the Batch File
First you want to make your batch file, this is very simple and many of you will already know how to do this.
First, open up a notepad document.
Go to -File-, -Save As...-, then in the 'File name' textfield, type in 'WikipediaSearcher.bat'. The name doesn't matter, but .bat is essential.
Remember to switch 'Save as type:' to 'All Files' from 'Text Documents'
Step 2: Putting the Code In
Navigate to the wherever you saved your Batch File, then right click and 'Edit' it.
This is the code I used, as you can see it is quite simple:
Title Wikipedia Searcher
echo Enter your search topic:
set /p topic=
Basically it prompts you for a search topic, saves that as a variable topic, then starts a webpage ending in that topic.
Step 3: Test It Out!
To test, just double click on the batch file, type in the topic, and hit enter!
IMPORTANT: If you want to enter a topic with MORE than one word, put in underscores instead of spaces.
For example, enter West_highland_white_terrier instead of west highland white terrier.
Thanks for reading!