Ok..

Still not quite there..

Here is what we have at this point:
code:
 $tspace="R:\WHANDLER\BADLOAN-WK\"
$loan="C:\10133442.1"
SHELL '%COMSPEC% /C qreplace.EXE '+chr(34)+$tspace+$loan+chr(34)+' "\x20\x1B\x0D\x0A" ""'

If I use \x1B, it finds 791 to replace.

There are two things I need to do:

(1) Remove the Space, Box, CRLF like the following:




We have also had a couple instances of -



(2) Remove any instance of 

The biggest issue is not finding the box, but rather remove the @CRLF too.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's