?
Solved

Wildcard in file name

Posted on 1997-04-13
1
Medium Priority
?
536 Views
Last Modified: 2013-12-03
I have to write a function in a DLL for Windows NT 4.0 that can receive file name with wildcard (* and ?) and return a valid file name that can be use to do COPY(CopyFIle), DEL(DeleteFile) or RENAME (RenameFile).

I have no problem with DEL, but with COPY or RENAME I have to create a new file name from the wilcard and the name return by FindNextFile.

Is there a function like this in MFC or WIN32 API?

Thanks..
0
Comment
Question by:kasiopee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 11

Accepted Solution

by:
mikeblas earned 20 total points
ID: 1334571
There are no features in MFC or the Win32 API that do this.  You'll need to do the string math yourself to develop a suitable target file name.

.B ekiM
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question