CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2007
    Posts
    117

    How to copy a file

    Hi guys,

    I'm trying to figure out how to copy a file.
    For instance I'd like to copy file1.txt to file2.txt.
    It's probably a very simple task, but I can't seem to figure it out.

    Thanks a lot!

    Robert

  2. #2
    Join Date
    May 2000
    Location
    Armenia
    Posts
    201

    Re: How to copy a file

    Following functions from Windows API can be used:
    CopyFile and CopyFileEx.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured