Replace won't see files

General discussions about Advanced Find and Replace
Post Reply
nora
Posts: 1
Joined: Wed Feb 21, 2007 10:55 pm

Replace won't see files

Post by nora » Wed Feb 21, 2007 11:13 pm

Hello! Could someone please advise me... I'm trying to do a simple find and replace operation. I have the Mask set to include my file type (*.html), and when I use FIND, it finds the text string in all the files in my chosen folder, but when I use REPLACE, it doesn't see any of my files, although the Mask is still set correctly. I'm trying to replace:

SRC = "www

with

SRC = "ftp

in case it matters.

What do I need to do?

Thanks in advance!

Abacre
Site Admin
Posts: 1201
Joined: Mon Jan 31, 2005 5:32 pm
Contact:

Post by Abacre » Thu Feb 22, 2007 3:23 pm

Do you use Replace or Batch replace operation? Could you please send us a sample HTML file for testing and default.cfg file located in C:\Program Files\Advanced Find and Replace 3

So we will send you back the working default.cfg file.

In you case I think it's the problem of trailing spaces.
You should remove the spaced and line breaks before and after your Search For text:
SRC = "www
Kind regards,
Abacre Limited
http://www.abacre.com
support@abacre.com

piolenc
Posts: 2
Joined: Tue Mar 13, 2007 4:44 am

Replace won't see files

Post by piolenc » Tue Mar 13, 2007 4:54 am

I'm having the same trouble. When I try to execute, I get the message "found 0 files of 6"... I'm in a terrible rush to complete this job (which is why I downloaded AFR), so I hope somebody has this one licked.

Abacre
Site Admin
Posts: 1201
Joined: Mon Jan 31, 2005 5:32 pm
Contact:

Post by Abacre » Tue Mar 13, 2007 8:32 pm

Thank you for sending us configuration and sample files. We verified
on our computer: it correctly replaced 6 phases in your sample
document. We have sent you a private message with details.
Kind regards,
Abacre Limited
http://www.abacre.com
support@abacre.com

piolenc
Posts: 2
Joined: Tue Mar 13, 2007 4:44 am

Replace won't see files

Post by piolenc » Wed Mar 14, 2007 1:55 am

It's nice that you were able to get it to work, but that doesn't help me understand why it's not working on my machine. I can't just keep sending files to you for processing....

Marc

silverbob
Posts: 4
Joined: Thu May 25, 2006 5:49 pm

re: Replace can't locate string

Post by silverbob » Mon Apr 16, 2007 10:15 pm

I have the same problem. I paste a small string into FIND mode and it is located in several files, but not when I paste the same string into REPLACE mode. I have made sure to clear any extraneous characters.

Abacre
Site Admin
Posts: 1201
Joined: Mon Jan 31, 2005 5:32 pm
Contact:

Post by Abacre » Tue Apr 17, 2007 5:05 am

In which file types do you make search/replace? Could you send us you default.cfg file and at least one sample file for tests?
Kind regards,
Abacre Limited
http://www.abacre.com
support@abacre.com

silverbob
Posts: 4
Joined: Thu May 25, 2006 5:49 pm

Post by silverbob » Wed May 02, 2007 3:58 pm

Any update to this problem yet?

overtsr
Posts: 1
Joined: Fri May 25, 2007 12:46 pm

Same problem

Post by overtsr » Fri May 25, 2007 12:48 pm

I am having the same problem, so a fix would be good. If this many people are having this issue, there has to be something a miss in your code or configuration.

Steve

adrianpbcnc
Posts: 2
Joined: Wed Oct 17, 2007 3:23 pm

Re: Replace won't see files

Post by adrianpbcnc » Wed Oct 17, 2007 3:32 pm

I fixed a similar problem by changing my default config: <action> <options> <replace> and unchecking "use advanced options of find operation"

If this option is active then replace will limit itself to "advanced options" even if the options page is hidden on the [find] tab. The alternative is to make sure the "advanced options" is set to "all files" before running a search.

So the bug is: (with config not set as above) When unclicked on the [find] page, "advanced options" will disable itself for the[find] page only but remains active for the [replace] page.

Hope this helps.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests