Command Line Modes

Command Line Modes

WebToCSV

The utility loads and parses the text and outputs CSV data.

If the web data contains a next page URL, the utility loads the specified number of pages.

If an HTML page is not parsed correctly, try to use the HTML page for printing.

Also, you may use the /rootPath option to tune the results.

Examples:

wevcsv.exe WebToCSV https://finance.yahoo.com/q/hp?s=AAPL+Historical+Prices aapl.csv

wevcsv.exe WebToCSV @task.txt

WebToText

The utility loads and saves the text.

If the web data contains a next page URL, the utility loads the specified number of pages.

Examples:

wevcsv.exe WebToText https://finance.yahoo.com/q/hp?s=AAPL+Historical+Prices aapl.htm

wevcsv.exe WebToText @task.txt

TextToCSV

The utility parses input files and outputs the CSV data.

You may use the /rootPath option to tune the results. 

You may use * in the file mask.

You may join multiple CSV files into one CSV file.

Examples:

wevcsv.exe TextToCSV aapl.htm aapl.csv
wevcsv.exe TextToCSV htm\*.htm csv\*.csv
wevcsv.exe TextToCSV csv\*.csv results.csv
wevcsv.exe TextToCSV @task.txt

HtmlTables

Use this mode to find table numbers for using in the /rootPath option.

Example:

wevcsv.exe htmlTables aapl.htm aapl-tables.htm

wevcsv.exe TextToCSV aapl.htm /rootPath=3

DelIfHtml

Use this mode to delete HTML files if files of other types are expected.

Websites return HTML pages, for example, for the 'Not Found' error.

DelIfEmpty

Use this mode to delete empty files.

Sleep

Use this mode to wait for the specified amount of milliseconds between requests to avoid IP banning by the web server.

You may specify the /delay option instead of the use of the sleep mode.

Example:

wevcsv.exe sleep 500

Stamp

Use this mode in batch files to set environment variables like:

for /F %%i in ('gwebcmd.exe stamp') do set stamp=%%i

Register

Use this mode to launch the Registration Wizard.

Help

Use this mode to get extended the command line help or to start the CHM help like this:

wevcsv.exe help chm
This website is using cookies. By continuing to browse, you give us your consent to our use of cookies as explained in our Cookie Policy.