-
Programm
Hello everyone
I am really new to windows development but I have a question
I want to create a programm which will take files from my c: drive
and copy
those files to a a: drive. I need to be able make a search by datestamp
for some files before copy.
I would really really appreciate if you could help me on this matter.
Thank you
-
Re: Programm
Hi Alex,
Use CFileFind class if you are writing an MFC application or FindFirstFile
/ FindNextFile / FindClose functions from the Win32 API otherwise. If you
specify "*.*" for the name of the file, you will be able to iterate through
all files in a directory. You will have to identify files that are of interest
yourself - by examining CFileFind::GetLastWriteTime(), for example.
Boris Karadjov
Brainbench MVP for Visual C++
http://www.brainbench.com
"Alex" <adubinch@drpa.org> wrote:
>
>Hello everyone
> I am really new to windows development but I have a question
>
>
> I want to create a programm which will take files from my c: drive
>and copy
> those files to a a: drive. I need to be able make a search by datestamp
>for some files before copy.
>
> I would really really appreciate if you could help me on this matter.
>
> Thank you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks