Command Line

Command REPLACE

Function:

Search and replace a text string in the specified files.
Syntax:
REPLACE [drive:][path]filename "searchfor" "replacewith" [/M] [/Y] [/S]
[drive:][path]filenameSpecifies the text file(s) to search.
seachforSpecifies the text string to replace.
replacewithSpecifies the replacement text string.
/MMatch case.
/YAssume yes for all questions.
/SProcess sub-directories.
Note:
  • Command REPLACE uses the fast Boyer-Moore Algorithm and will only search text files. Non-text file are simply skipped.
  • The parameter replacewith is case sensitive. The parameter searchfor is not, unless the /M switch is specified.

Copyright © 1995-2005 Lucien Cinc, All Rights Reserved
WinOne is an Australian registered trademark of Lucien Cinc