Plug-in Reference — Inline Functions — Editor_BatchReplaceInFiles

# Editor_BatchReplaceInFiles

Replaces multiple strings in multiple files in the specified location. You can use this inline function or explicitly send the EE_REPLACE_IN_FILESW message.

Editor_BatchReplaceInFiles( HWND hwnd, FIND_REPLACE_INFO* pBatchArray, BATCH_GREP_INFO* pGrepInfo );

## Parameters

hwnd

Specifies the window handle of the view or frame of EmEditor.

pBatchArray

Specifies a pointer to the array of FIND_REPLACE_INFO structures.

pBatchGrepInfo

Specifies a pointer to the BATCH_GREP_INFO structure.

## Return Value

Returns FALSE if the user aborts, or TRUE if not.

## Version

Supported on EmEditor Professional Version 15.7 or later.