about search files

  • Thread starter Thread starter cfyam
  • Start date Start date
Search what files? Residing where? Search for what? By what criteria?
You might want to provide a little more detail.

-Chris
 
So you want to find files based on the file name, or based on the content or
based on the folder they're in or based on the extension or based on a file
attribut or something altogether different?

Again, providing enough info on what you're doing would help us help you.
You may know what you want, but we surely can't read your mind.

Most of this is covered in the System.IO namespace in the File, FileInfo,
Directory and DirectoryInfo classes

-Chris
 
I want to execute other ap on PDA, and I want to know the path of these
path!
These ap is not constant!
 
So, you're searching for a single file by name in the total folder set of
the device, yes? You want to do something like this, recursively:

di = new DirectoryInfo(path);

// Get list of files in the path.
FileInfo[] fi = di.GetFiles(filespec);

Paul T.


cfyam said:
I want to execute other ap on PDA, and I want to know the path of these
path!
These ap is not constant!

So you want to find files based on the file name, or based on the content or
based on the folder they're in or based on the extension or based on a file
attribut or something altogether different?

Again, providing enough info on what you're doing would help us help you.
You may know what you want, but we surely can't read your mind.

Most of this is covered in the System.IO namespace in the File, FileInfo,
Directory and DirectoryInfo classes

-Chris



cfyam said:
I wnat to find some files in PDA, and save the path in my app!

"<ctacke/>" <ctacke[@]opennetcf[dot]com> ¦b¶l¥ó
¤¤¼¶¼g...
Search what files? Residing where? Search for what? By what criteria?
You might want to provide a little more detail.

-Chris


How can I search some files in my .NET CF PPC ap?
 
Back
Top