by: Demetri |
last post by:
Using the GetFiles method of the DirectoryInfo instance
one can pass in a search pattern of string type.
For example:
DirectoryInfo di = new DirectoryInfo("C:\temp");
FileInfo fi =...
|
by: ALI-R |
last post by:
I am using the follwoing code to get all files which have txt as an
extension but I get an error that your search pattern is not correct.it
seems this fuction dosn't accept "*.txt" as search...
|
by: philin |
last post by:
Hi:
I am using GetFiles() method of directory class to get
some file names. I want to do know how i can setup search
pattern strings to get multiple file types. Like:
GetFiles(Path,"*.Txt")...
|
by: al jones |
last post by:
I'm using filesystem.getfiles - and so far it's working correctly *however*
I'd sure like to be able to pass it, as the last parameter, the extensions
(plural) for which I'm looking.
I assumed...
|
by: maxgasta |
last post by:
Hello there,
I'm getting crazy for "Directory.GetFiles" method
It happens that when I'm getting a file list for a directory, the
pattern matching is done "usually" on LongFileName base but...
|
by: John Dann |
last post by:
Is there a way to limit the search pattern for Directory.Getfiles to
an exact number of characters. For example I want to see all the files
fitting the pattern "*.abc" but excluding "*.abcd". The...
|
by: jobs |
last post by:
Say I only have a single file I want to get information on. How can I
adapt this code?
Dim dr As DataRow
Dim fi As FileInfo
Dim dir As New DirectoryInfo(filename)
Dim dt As New DataTable...
|
by: Sarel |
last post by:
Hi.
I have:
FileInfo afiles = dirinfo.GetFiles("g*.jpg");
but in that directory I have gXXX.jpg and gtXXX.jpg.
What is the pattern to get g*.jpg but not gt*.jpg??
Thanks in advance.
Sarel j
|
by: Julie Smith |
last post by:
Hi,
Is it just me or does the search pattern parameter in Directory.GetFiles()
have a problem with the '?' character?
'*.*' works to find all files, but '?.*' does not work to find all files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|