hi,
i have thousands of files which contain as good as the same line:
IF EXIST P:\LOCATION\DLF-G\NOW2XP\INSTALL.BAT P:\LOCATION\
DLF-G\NOW2XP\INSTALL.BAT
IF EXIST P:\LOCATION\ABG-B\NOW2XP\INSTALL.BAT P:\LOCATION\
ABG-B\NOW2XP\INSTALL.BAT
IF EXIST P:\LOCATION\MCH-P\NOW2XP\INSTALL.BAT P:\LOCATION\
MCH-P\NOW2XP\INSTALL.BAT
IF EXIST P:\LOCATION\HBG\NOW2XP\INSTALL.BAT P:\LOCATION\HBG\NOW2XP\INSTALL.BA
only these little strings(thick written) are others...
and these lines should be replaced with this line:
IF EXIST P:\WXPINST\PE_INSTALL.BAT P:\WXPINST\PE_INSTALL.BAT
need help
Hi,
Go to Batch replace tab, check on "Use regular expressions".
Put into the grid, search for:
IF EXIST P:\\LOCATION\\.+\\NOW2XP\\INSTALL\.BAT P:\\LOCATION\\.+\\NOW2XP\\INSTALL\.BAT
(note the search for string is one line).
Replace with:
IF EXIST P:\\WXPINST\\PE_INSTALL.BAT P:\\WXPINST\\PE_INSTALL.BAT
That's all I verified it works perfectly.
Go to Batch replace tab, check on "Use regular expressions".
Put into the grid, search for:
IF EXIST P:\\LOCATION\\.+\\NOW2XP\\INSTALL\.BAT P:\\LOCATION\\.+\\NOW2XP\\INSTALL\.BAT
(note the search for string is one line).
Replace with:
IF EXIST P:\\WXPINST\\PE_INSTALL.BAT P:\\WXPINST\\PE_INSTALL.BAT
That's all I verified it works perfectly.