PDA

View Full Version : How to search within a directory of asp files and css files for text within the files


misscrf
11-22-2004, 01:50 PM
That subject should cover it. I have a couple of directories with ASP and CSS files, as well as INC files. I am trying to make some specific changes to specific references, so that I can control the appearance and login to our site.

Windows does not search within ASP files, and either does google desktop. Can someone help me as to what I need to do to be able to do this?

I have seen a posting about a registry entry, and something as simple as this should not require such a drastic measure. I also read about changing the default application to open the file with. I changed ASP file to open with notepad and then wordpad, restarting and doing a new search each time. This did not seem to work.

Can anyone please help me?

I am just a beginner, but I have been successfully updating our changes so far. I would just like to be able to search without having to go through each file at a time. That really will take forever.

Thanks.

Roelf
11-22-2004, 02:05 PM
use a good filemanager like Total Commander, available from www.ghisler.com can search for text in every file.

But is offers so much more than only that, integrated archivers, integrated ftp, two panels with multiple tabs for folders, directory hotlist, (almost) fully keyboard controllable etc. etc

I won't touch windows explorer unless i am forced to do so. Ontherwise only use TC

:thumbsup:

misscrf
11-22-2004, 02:42 PM
Thank you, very much. That did exactly what I was looking for. Now if
I could just understand asp development lol.

Don't worry I am going to start another thread for that. :D

ghell
11-22-2004, 03:55 PM
i did something similar to work out who of my 150 msn contacts i could delete.... and then i cudnt be bothered to delete them.. but..
a great fso reference is at http://www.sloppycode.net/fso/
i would do a for each for every file in there, with a getfile to read the strings of data wtih readall, you cna then perform string manipulation with
Replace(strFileText, strFind, strReplacement)

misscrf
11-22-2004, 04:10 PM
Thanks, I like this tool I found, but I am sure my supervisor will apreciate that this may help with global search and replace when we need it.
:thumbsup:

fractalvibes
11-22-2004, 09:40 PM
EditPlus has good searching capablities for doing a "find in files"
in a directory . www.editplus.com

fv

misscrf
11-22-2004, 10:08 PM
thanks. I have heard of that, but I think I knew so little that I couldnt figure it out.