Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - find for files containing text
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

find for files containing text

 Post Reply Post Reply Page  123>
Author
salman View Drop Down
Newbie
Newbie


Joined: 21 October 2003
Location: Pakistan
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote salman Quote  Post ReplyReply Direct Link To This Post Topic: find for files containing text
    Posted: 21 October 2003 at 1:25am

Hi,

I want to search files from folders and subfolders that contains specific text. Like window's search criteria.

Send me Asp code or VB code for it, with Thanks

Regards

Salman

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 21 October 2003 at 7:14am
Some people have nerves.
Back to Top
vshriniwasan View Drop Down
Groupie
Groupie
Avatar

Joined: 17 December 2001
Location: United States
Status: Offline
Points: 63
Post Options Post Options   Thanks (0) Thanks(0)   Quote vshriniwasan Quote  Post ReplyReply Direct Link To This Post Posted: 21 October 2003 at 8:00am

Tell you what, I can tell you how to make this script, because I have done it for my intranet.

Just to tell you, you need understanding of file system object.

I would suggest setup an array of folder paths (Virtual or literal paths), where you want the script to search.

Using the For loop, textstream method and instr method you can search thorugh the files. If you find the file well you can take the file into a string. After the loop is over, just write the files and provide a direct link to the file.

Well I can do more, but I am little lazy today.....

Shrini

Back to Top
KCWebMonkey View Drop Down
Senior Member
Senior Member
Avatar
Go Chiefs!

Joined: 21 June 2002
Status: Offline
Points: 1319
Post Options Post Options   Thanks (0) Thanks(0)   Quote KCWebMonkey Quote  Post ReplyReply Direct Link To This Post Posted: 21 October 2003 at 8:01am

Hi, I would like for you to make me an e-commerce site... It must be able to do DNA restructuring and also Lunar Physics... Please let me know when you are done. Thanks!

Waiting for Reply!!!!

Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post Posted: 21 October 2003 at 8:32am

Originally posted by michael michael wrote:

Some people have nerves.

agreed....

Contribute to the working anarchy we fondly call the Internet
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 21 October 2003 at 8:43am
This guy is sending me emails now complaining about the rudness of your reseponses.

I have to give hime 10 out of 10 for nerve.
Back to Top
KCWebMonkey View Drop Down
Senior Member
Senior Member
Avatar
Go Chiefs!

Joined: 21 June 2002
Status: Offline
Points: 1319
Post Options Post Options   Thanks (0) Thanks(0)   Quote KCWebMonkey Quote  Post ReplyReply Direct Link To This Post Posted: 21 October 2003 at 9:18am

LOL

Some people just don't understand that they can't just pop on to a discussion forum and start spitting out orders...

Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post Posted: 21 October 2003 at 10:32am

People want help on something?  i see that as fine, and will do my best to help.. others do the same

if people post: "do this for me, i don't want to learn, i just want the code"... screw 'em, they can find somewhere else as far as i am concerned......

Contribute to the working anarchy we fondly call the Internet
Back to Top
 Post Reply Post Reply Page  123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.