Batch Wikipedia Searcher

 by Jackhole
1.bmp
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.
 
Remove these adsRemove these ads by Signing Up

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'
ygoetz says: Nov 24, 2012. 5:54 AM
It don't works if there is a "space" in %topic% !
account3r2 says: Jul 8, 2010. 3:25 PM
i changed the code so it searches bing
g3lrod in reply to account3r2Nov 23, 2012. 4:49 PM
Can you make one for google?
Puus says: Aug 26, 2009. 12:23 PM
For everyone saying there's other ways, well for us who are trying to get more into batch files I think it's fun just knowing how to. Even though I knew this, easy batches like these helped me when I started in the beginning.
ithinkibrokeit says: Aug 17, 2009. 11:31 PM
this is awesome! I found this so useful i wrote a visual basic script so it has a search box i can post the script if anyone is interested
shooby says: May 3, 2008. 9:17 PM
In firefox, you can just type "wiki [search term]" in the address bar, hit enter, et voila, you find what you were looking for. That's because in firefox, terms entered in the address bar are searched for, and the browser directs you to the first google search webpage, unless the term is too obscure/the match is not good enough.
berserk in reply to shoobyApr 23, 2009. 5:17 PM
Hah. And I thought it was fun and tongue-in-cheek to make a batch file to search wikipedia, but this little nugget was definitely worth coming for!
dani3l says: Feb 27, 2009. 1:19 PM
Wikipedia already have a -real- search tool!
fredricksburgthethird says: May 13, 2008. 7:53 PM
would it be possible to just see the text of a website in the bat window?
Jackhole (author) says: May 4, 2008. 7:07 AM
Yeah I actually have the enlish Wikipedia site (http://en.wikipedia.org/wiki/Main_Page) as the page my bookmark sends me too, but I really made this Instructable so people can adapt it to some other site this would work on.

And wow, I learn more and more things about Firefox everyday.
theRIAA says: May 3, 2008. 8:58 PM
i know its annoying, but you can search english wikipedia on their homepage by default under the big puzzle globe... or usually just googleing "wiki" or "(topic here) wiki" works good as well
DELETED_spoonty says: May 3, 2008. 5:50 PM
(removed by author or community request)
thehappytent in reply to DELETED_spoontyMay 3, 2008. 6:09 PM
or just use wiki: in google...
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!