Can someone help please!

I need to search for a different set of strings like: 'fummy' or 'users' or 'logon' from a directory like this:

C:\mycase\Nic..\

A Text document is stored in there LIKE:
544, Text Document, 45, 588 KB

Can some help to write a script or python program to seach for this text strings

Thanks

Fummy

Recommended Answers

All 2 Replies

Lets try to describe the problem better...

Is the problem:
a) search the directory for a file name
b) search a specific file for string data
c) search all of the files in a directory for string data
d) search all of the files in a directory tree for string data
e) something else

Be clear and concise in your problem description.

We also tend to be a lot more helpful if you show that you're trying to do this yourself. Include a list of the steps you would follow if you were trying to solve the problem manually. We can discuss the list and help you write the code to make the steps happen.

****The searching is:
**search all of the files in a directory for string data**

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.