getfiles Questions

2

Solved

I've managed to get files out of "root" folder subdirectories, but I also get files from these subdirectories directories2, which I don't want to. Example: RootDirectory>Subdirectories (wanted...
Vitale asked 19/12, 2012 at 13:42

4

Solved

Possible Duplicate: How to get only filenames within a directory using c#? Using C#, I want to get the list of files in a folder. My goal: ["file1.txt", "file2.txt"] So I wrote this:...
Leclair asked 21/9, 2012 at 4:45

2

Solved

How can i get the Directory.GetFiles to only show me files starting with a numeric value (eg. 1abc.pdf); Directory.GetFiles(@"C:/mydir", "0-9*.pdf")
Impanel asked 11/3, 2012 at 7:23

7

Solved

Possible Duplicate: Can you call Directory.GetFiles() with multiple filters? How do you filter on more than one extension? I've tried: FileInfo[] Files = dinfo.GetFiles("*.jpg;*.tif...
Sweaty asked 19/8, 2010 at 23:55

6

Using C#, I would like my application to return whether a folder (with an already known path) is located in a network or in my computer. How can I do that?
Shirley asked 10/8, 2011 at 13:52

2

Solved

I have a folder with far too many files in, and I want to go through each file one by one. The problem is that Directory.GetFiles returns a completed array, and this takes too long. I would rather...
Thirtyone asked 19/2, 2010 at 10:10

© 2022 - 2024 — McMap. All rights reserved.