Click here to Skip to main content
15,920,633 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How to find a file on the computer with certain characters and three unknown character in C #
Posted
Comments
Sergey Alexandrovich Kryukov 19-Sep-12 0:51am    
What, with two unknown characters is not good enough? :-)
Anyway, what did you try?

...and, with ASP.NET, do you want to find it on client or server host? Do you know you won't have access to the client, and not to all of the server computer, for a good reason?
--SA

1 solution

Hi,

First of all Searching for a file in computer is not good practice if you have web application, As it will search in the Server for the file. Hosting server will not allow you to search for the file in system, instead you can search within folder in your application.

Secondly if you have windows application then you can create recursive function to read each files and folders for your searching criteria. Although it will take a lot of time to execute so you need to implement BackgroundWorker to process for this.

Let us know further information or try something.

Best luck
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900