Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > [OT]Re: remove or _unlink using wildcard?

Thread Tools

[OT]Re: remove or _unlink using wildcard?

Artie Gold
Posts: n/a
      06-27-2003 wrote:
> Hi There,
> I have been trying to delete several files by using wildcard using either
> remove or _unlink, but non of them seems to work.
> char temp_files[MAX_PATH];
> strcpy(temp_files, "c:\\tmp*.*");
> _unlink(temp_files); // doesn't work
> remove(temp_files); // doesn't work either
> Can someone please tell me how I delete several files using wildcard?

Standard C++ knows neither of wildcards nor _unlink.
[It's a platform-specific extension. Posting in a forum dedicated to the
particular platform upon which you are working will most likely get you
the help you need.]


Artie Gold -- Austin, Texas

----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==---- The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Httpmodule still executed even if remove using <remove> config entry Simon-Pierre Jarry ASP .Net 2 08-10-2005 11:22 AM
How to remove items from add/remove list please Caractucus Potts Computer Support 5 07-03-2005 10:31 PM
Re: Why I can not remove all dialers after "remove"-I have two anti-dialers programs Joseph Ladovic Computer Security 3 05-26-2005 03:00 AM
Add/Remove Program Glitch: Asks If I Want To To Remove Wrong Program ? Robert11 Computer Support 6 08-02-2004 09:02 PM
Re: remove or _unlink using wildcard? yangyong C++ 2 06-27-2003 02:42 PM