DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Thread: Programm

Hybrid View

  1. #1
    Alex Guest

    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

  2. #2
    Boris Karadjov Guest

    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



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links