473,401 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

getfiles pattern

Hi ng,

If use this as pattern to my getfiles command -->
"B7706c_2005020915253*.wav" and it returns me no files but if I use "
B7706c_2005020915*.wav as the pattern then it retruns me files.

Strange is that I have a file named :
\\tcstore01\e$\tcCrag\Tele2\B7706c_20050209152536_ 70000001_0000_FULL_9003336575.wav
in this folder and I can not understand why a pattern with characters finds
the file and if I have a pattern with characters it doesn't anymore ?

arrFiles = Directory.GetFiles(@\\tcstore01\e$\tcCrag\,
"B7706c_20050209153*.wav");
Nov 16 '05 #1
0 1375

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
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 =...
2
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...
3
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")...
11
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...
0
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...
4
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...
1
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...
0
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
9
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...
0
BarryA
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...
1
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...
0
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...
0
marktang
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,...
0
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...
0
jinu1996
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...
0
tracyyun
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...
0
agi2029
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,...
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.