Command Line Parameters

Command Line Parameters

<URL>

The parameter must be a valid HTTP or HTTPS URL.

<File>

The parameter must be a valid file name.

You may specify absolute or relative paths.

<Mask>

The parameter can be a file name or a file mask.

Input file mask examples:

*.htm
options-*.htm
htm\*.htm
csv\*.csv

Input and output file mask examples:

*.htm         *.csv
options-*.htm *.csv
htm\*.htm     csv\*.csv
csv\*.csv     output\*
csv\*.csv     output\*.*
csv\*.csv     output.csv

@<Task>

Task files can be a plain text or a CSV files and contain command line parameters and options:

ColumnMeaning
URLThe mandatory <URL> parameter
FileNameThe <file> parameter
CsvFileNameThe <csv file> parameter
AddThe /add option
RootPathThe /rootPath option
PagesThe /pages option

Command line parameters have higher priority over task file values.

Plain text task file example:

URL                                                           FileName
https://ichart.finance.yahoo.com/table.csv?s=AAPL&ignore=.csv aapl.csv
https://ichart.finance.yahoo.com/table.csv?s=GOOG&ignore=.csv goog.csv

CSV task file example:

URL;FileName
https://ichart.finance.yahoo.com/table.csv?s=AAPL&ignore=.csv;aapl.csv
https://ichart.finance.yahoo.com/table.csv?s=GOOG&ignore=.csv;goog.csv

Command line example:

gwebcmd.exe WebToCSV @task.txt

You may create task files from a database using SELECT queries.

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.