| 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" | fills the regex to search with |
| /filemaskregex:"regex" | sets the file mask as a regex |
| /filemask:"string" | sets the file mask |
| /filemaskexclude:"string" | sets the exclude file mask |
| /replacewith:"string" | sets the replace-with string |
| /execute | if specified, the search is started immediately without the user having to click the search button first |
| /i:[yes|no] | case insensitive |
| /n:[yes|no] | dot matches newline |
| /k:[yes|no] | create backups |
| /utf8:[yes|no] | treat files as utf8 |
| /size:sizelimit | sets the file size limit. Pass -1 to use all sizes |
| /sizecmp:[0|1|2] | compare setting for the size limit: 0 = less than, 1 = equal to, 2 = greater than |
| /s:[yes|no] | include system items |
| /h:[yes|no] | include hidden items |
| /u:[yes|no] | include subfolders |
| /b:[yes|no] | include binary files |
Please add missing items. For example, /portable and /filemask.
/replaceWith:"string" sets Replace with text field /executeReplace executes replace
Great tool! Would be great to have a batch mode for the replace functionality (no user interaction / user interface). Could imagine parameters like:
/replace if specified, a replace operation is started immediately in batch mode /replaceWith the replacement text
Great Tool! Matching newlines with . saved me from editing hundreds of files by hand. Didn't even work with Notepad++.
Absolutely great tool! Agree - having batch mode can be VERY helpful...
I would like to see:
where search results are piped to the specified file.
I presume that:
is treated the same as:
/filemask:"regex"
/i:yes corresponds to case sensitive ON /i:no corresponds to case sensitive OFF
This is the reverse of the documented description above, which describes it as setting the case INsensitive behaviour
A comment above indicates you can use "/executeReplace" to start the replacement directly from the command line, but it doesn't seem to be working for me. And looking at the source I don't see any reference to it in the code either, notably in GrepWin?.cpp where the other command line parameters like "/execute", are handled. Am I missing something?
/portable does not seem to create an .ini file. does this not work if you also have a non-portable installation?