Command Line

Command Line

Command Line Modes

gwebcmd.exe Help       [chm]
gwebcmd.exe WebToCSV   <url>|@<task> [[<downloaded file>] <csv file>] [<options>]
gwebcmd.exe WebToText  <url>|@<task>  [<downloaded file>]             [<options>]
gwebcmd.exe TextToCSV  <input file|mask> [<csv file|mask]             [<options>]
gwebcmd.exe HtmlTables <input file|mask> [<htm file|mask]             [<options>]
gwebcmd.exe DelIfHtml  <input file|mask>
gwebcmd.exe DelIfEmpty <input file|mask>
gwebcmd.exe Sleep      <milliseconds>
gwebcmd.exe Stamp     [<datetime format>]
gwebcmd.exe Register

Common Options

/inputCodepage=<codepage>
/outputCodepage=<codepage>
/outputCulture=<name>
/noBOM
/echoUrl
/echoInputFileName
/echoOutputFileName

Query Options

/method=<method>
/accept=<accept>
/userAgent=<useragent>
/timeout=<milliseconds>
/delay=<milliseconds>
/pages=<pages>
/pageNumberDigits=<integer>

Parser Options

/rootPath=<root path>
/collapsedNodes=<node>[;...]
/skippedNodes=<node>[;...]
/keptNodes=<node>[;...]
/ignoredTags=<tag>[;...]
/attibutedColumns=<col>.<attr>[;...]
/inputSeparator=<separator>|Tab
/noSourceHeaders
/asIs
/rowValues
/inputDateFormat=DMY|MDY
/firstRow=<first row>

CSV Output Options

/append
/noHeaders
/addRowNum
/dateTimeFormat=<format>
/dateFormat=<format>
/timeFormat=<format>
/[output]Separator=<separator>|Tab
/quoteChar=<char>
/escapeChar=<char>
/add=<header=value>[<sep>...]
/requiredColumns=<name>[;...]
/stringFields=<field>[;...]
/numberFields=<field>[;...]

Add Parameter Functions

UtcNow() | UtcDateTime()
UtcDate()
UtcTime()
Now() | DateTime()
Date()
Time()
NyseDateTime()
NyseDate()
NyseTime()
FileDateTime()
FileDateTimeUtc()
FileDateTimeNyse()
FileDate()
FileDateUtc()
FileDateNyse()
FileTime()
FileTimeUtc()
FileTimeNyse()
FileName()
FileNameOnly()
FileNameWithoutExtension()
FileNameWithoutPage()
FilePage()
FileNameDateTime(<file>)
FileNameDate(<file>)
FileNameTime(<file>)

Exit Codes

Exit CodeDescription
0Success
1Incomplete command line parameters
2Wrong command line parameters
3Exception
>200HTTP Status Code
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.