directoryinfo
Renaming a directory locks renamed dir the second time I want to rename
I\'m having problems with renaming a directory multiple times, it seems to lock the file. // e comes from a objectListView item[详细]
2023-02-16 19:22 分类:问答Using DirectoryInfo[] to list directories and their contents
This is going to take a while to explain but bear with me. I\'m automating the creation of project and lead records in our database based on the existence of sub directories at a certain path.The dir[详细]
2023-02-16 13:18 分类:问答How can i get the listing of files and directories of a path using C++?
I am using the directory class to get this information but unable to assign this data to a data member of my own class. i am doing an oop project. Furthermore,I want to use the concept of Dynamism(con[详细]
2023-02-16 11:40 分类:问答How to refresh System.IO.DirectoryInfo.GetFiles().Length
I\'m having trouble with getting the uptodate amount of files in a directory. The files are being printed from PDFCreator and being sent to that folder. When the number of files in the folder match th[详细]
2023-01-30 06:01 分类:问答Strange behaviour from System.IO.DirectoryInfo. Exists function
I am developing an application using c# and asp.It need to access some places in the local network . There is a text box in the form which accept the path to be accessed from the user and will store i[详细]
2023-01-25 03:00 分类:问答dirInfoObj.GetFiles("*.jpg,*.png") does not return any files
If I do simply dirInfoObj.GetFiles(\"*.jpg\") , it will return the 2 jpg\'s I have there. But if I try and get both jpg\'s and png\'s, like[详细]
2023-01-24 01:42 分类:问答DirectoryInfo.Delete(True) Doesn't Delete When Folder Structure is Open in Windows Explorer
Assuming I have a folder structure like: C:\\MyTemp - MySubFolder If I try to delete this using: Dim path As String = \"C:\\MyTemp\"[详细]
2023-01-23 20:04 分类:问答How can i get all files without file extension into an array
How can i get all files without file extension into an array. I will su开发者_运维百科pply the folder path.[详细]
2023-01-21 19:32 分类:问答Application Settings + DirectoryInfo/FileInfo
I\'m still new to C#... I\'m building a WPF application and I\'m trying to apply some User Application Settings. It\'s easy to insert standard App Settings (int, double, string, etc). I\'ve even got s[详细]
2023-01-13 01:42 分类:问答How to select a folder relative to root in asp.net website?
I am trying to select all the files from a folder in my website and store them in a collection. The problem is that when I run the website it is not selecting the folder in my website:[详细]
2023-01-09 04:51 分类:问答