PDA

View Full Version : Microsoft Windows XP Search



SmokeyDP
04-12-2005, 06:17 AM
Alright, I am pretty good with computers, but this one I can not figure out. I am trying to use the search feature built into XP. I am trying to pull up all .php files that have a variable named SCRIPT_NAME in them. I have *.php for the file name and SCRIPT_NAME for the "Word or phrase in the file." It comes up with nothing and I know its in several files....

It seems to be only pulling up where it shows up in .txt files, not .php files where are just basically text...

Can anyone help? :eek3:

gear02
04-12-2005, 06:25 AM
I really can't help, but I know that the search built into explorer sucks donkey...

Google desktop isn't much better since it just archives specific files. Your best bet is to use a IDE and use the search function in it. It would be better since it's optimized for code.

I think Netbeans is still free, open source. Try using it, creating a project, importing your files, and running a search.

SmokeyDP
04-12-2005, 06:29 AM
I wrote something that will go through and download stuff and rename the variables, but I just thought it was dumb that this would not work.

navyones
04-12-2005, 07:47 AM
Have you installed PHP on your computer? If not, PHP files would show up as TXT only.

SmokeyDP
04-12-2005, 07:49 AM
I can edit the PHP files in notepad which is all I need. I just wanted to be able to search through a directory of them to see which ones had a certain variable in it.

navyones
04-12-2005, 07:53 AM
I will pose your question to my class tonight. I tried to search for "PHP" files also, and I got the same result you did.

If you have PHP installed though, most of your PHP files should be held in htdocs.

eSDee
04-12-2005, 08:46 AM
sequiro, where are you?!? :confused:

/me puts up sequiro signal in the sky

SmokeyDP
04-12-2005, 08:49 AM
I just found out you can not search in .xml files either. There should be a setting somewhere to turn this on. :spock:

doolittle
04-12-2005, 09:33 AM
if you use the advanced search feature you can search for files by extention,
the standard search skips alot of extentions so its faster for the average user. advanced search also works well for office products. also if it pulls up the txt files with the same name you can choose to open the folder containing the file(by right clicking on the file)
and that should put you real close or right on the money.

Curious
04-12-2005, 10:17 AM
It's not a hidden file, is it? I tried searching for unrelated file type and I couldn't find it, but I knew they were there. I found out that I had not selected for looking in hidden files and folders.

Markel
04-12-2005, 11:06 AM
XP search bug (http://www.petri.co.il/windows_xp_search_bug.htm)

SmokeyDP
04-12-2005, 11:37 AM
XP search bug (http://www.petri.co.il/windows_xp_search_bug.htm)
Thanks! Thats what I needed!

doolittle
04-12-2005, 05:42 PM
I will pose your question to my class tonight. I tried to search for "PHP" files also, and I got the same result you did.

If you have PHP installed though, most of your PHP files should be held in htdocs.
Hey Navyones what classes are you taking?

navyones
04-12-2005, 06:22 PM
Hey Navyones what classes are you taking?

I am currently taking Network Infrastructure. My degree will be Network Technology.

seqiro
04-12-2005, 06:29 PM
I think if you type ciadv.msc at a Start -> Run prompt and then
right-click somewhere in the white space and pull up "Properties", you can check "Index files with unknown extensions" which might help.

But I'm not on a Windows machine right now so I can't test it until morning.

:)

doolittle
04-12-2005, 10:18 PM
I am currently taking Network Infrastructure. My degree will be Network Technology. i took a bunch of microsoft classes and a hardware class. mcp and a+, had my own consulting buisness before i got hurt. now im trying to slowly build it back up again. mostly small buisness type stuff. ive been thinking about taking classes agian to get a BA in IT. im hoping to get a nice cushy management job in a few more years, thats the plan anyways. :)