Solved Batch web browsing file

Hewlett-packard / Pavilion touchsmart amd a...
January 21, 2014 at 13:30:28
Specs: Windows 7, 8GB
So I have this batch file:
mode con:cols=30 lines=5
echo Google
echo [Q] Main Menu
set search=
set /p search=<tmpunanswered.txt
start iexplore

which as you can see, takes the first word (tmpunanswered.txt contains a list of words) and searches google for the definition of that word.

WHAT I NEED: I need the file to, once it opens that page, you know how on google when u search on google the definition of a word and it has that box with the definition of that word below the search bar after you search for it? Well I need the batch file to find that definition some how and set as var1

See More: Batch web browsing file

Report •

January 21, 2014 at 21:40:55
You will need something more than batch. Batch can't "read" browser content off the browser application itself - the browser needs to save the content as either text or html. That requires a higher-level approach to access the browser object to obtain said content.

Report •

January 22, 2014 at 07:17:18
Ok thanks, suggestions for a batch code on how to save a webpage as html?

Report •

January 22, 2014 at 08:27:39
✔ Best Answer
Here are 2 command line tools you can use in a batch file to download web pages.

Report •
Related Solutions

Ask Question