Top "Getfiles" questions

Directory.GetFiles: how to get only filename, not full path?

Possible Duplicate: How to get only filenames within a directory using c#? Using C#, I want to get the list …

c# filepath getfiles
GetFiles with multiple extensions

Possible Duplicate: Can you call Directory.GetFiles() with multiple filters? How do you filter on more than one extension? I've …

c# .net fileinfo getfiles
Directory.GetFiles of certain extension

Is there a way to simplify this linq expression, or is there a better way of doing this? Directory.GetFiles(…

c# linq directory getfiles
Sorting the result of Directory.GetFiles in C#

I have this code to list all the files in a directory. class GetTypesProfiler { static List<Data> Test() { …

c# sorting getfiles
Listing Folders in a Directory using asp.net and C#

.aspx file: <%@ Import Namespace="System.IO" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="…

c# asp.net list directory getfiles
How can Directory.Getfiles() multi searchpattern filters c#

Possible Duplicate: Can you call Directory.GetFiles() with multiple filters? I have a string array: string[] pattern={"*.jpg","*.txt","*.asp","*.…

c# directory getfiles
Get all files recursively in directories NodejS

I have a little problem with my function. I would like to get all files in many directories. Currently, I …

node.js fs getfiles
UnauthorizedAccessException cannot resolve Directory.GetFiles failure

Directory.GetFiles method fails on the first encounter with a folder it has no access rights to. The method throws …

c# exception-handling unauthorized getfiles
Retrieving files from directory that contains large amount of files

I have directory that contains nearly 14,000,000 audio samples in *.wav format. All plain storage, no subdirectories. I want to loop …

c# file directory getfiles
C# return full path with GetFiles

Use this code for search files in directory: FileInfo[] files = null; string path = some_path; DirectoryInfo folder = new DirectoryInfo(path); …

c# getfiles