Switch /i = ignore case (can be in any parameter position); chr = ASCII. Search and replace strings can be any combination of literals and ^-prefixed, comma-delimited ASCII codes (^1 through ^255 or ^x01 through ^xFF). Use double ^ or , for literal ^ or , character within a string. Quotes may be omitted if there are no spaces within strings. Each ENTIRE LINE containing sought text will be removed/replaced, CRLF and all. If replacement is to be separated from subsequent line, end it with ^13^10.
Can read from another file both the search and replace string specifications or replacement text image (65,534 char. max; search string limit 4,095 char.)
Echos "Yanked" or "Not Yanked" to visually indicate outcome. Returns errorlevel: 0 = yanked, 1 = not yanked, 2 = unable to rewrite/del, 3 = syntax or memory error, 4 = file not found, 5 = error during read/write, 6 = insufficient disk space, 7 = read-only file, 8 = write-protected. When wildcards are used, highest level for the file group is returned.
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.