Command line parameters for grepWin
Parameter | Description |
---|---|
/help, /?, /about | shows the about dialog |
/portable | stores ini settings file in the same directory as the one in which grepwin.exe resides |
/searchpath:"path" | sets the path to search in |
/searchfor:"regex or text" | fills the regex to search with |
/regex:[yes|no] | sets whether the /searchfor text is a regex or normal text, default is regex |
/searchini:"path/to/inifile" | specifies an ini file which contains all the values usually passed on the command line you can use sections to specifiy different sets of commands. To specify which section is used, pass the /name:"sectionname" argument the entries in the ini file are named the same as the command line arguments searchpath=d:\work|d:\documents regex=yes filemask=*.txt searchfor=this(is)what[I]want(?to)search|for [CodeSearch] searchpath=e:\sourcecode filemask=*.cpp|*.h|*.cs|*.java searchfor=this(is)what[I]want(?to)search|for i=yes the ini file must be saved in utf8 format |
/nosavesettings | prevents grepWin from saving any of the settings/history items. |