CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2

Thread: Copy new files on old files in same folder

  1. #1
    Join Date
    Feb 2007

    Copy new files on old files in same folder

    Hi all,

    I am having a folder and in that folder i am having some file...

    Now i have written a code which makes this folder and write files in this particular folder.....

    My problem is if folder is existing at that place then a new copy is been created with same name and having same file in previous folder only, where as what i want is to copy new files on previous files....

    How to achieve this....

    Can anybody please help me in this

    Thanks in advance

  2. #2
    Join Date
    Feb 2000
    Indore, India

    Re: Copy new files on old files in same folder

    Before making the folder, check for its existance. If the folder exists, skip making the folder and write files. The files will be overwritten, if it already exists.
    Let me know if I have helped by rating this post

    Recent FAQs

    Drag an image
    Area of a window exposed on desktop
    Display rotated bitmap

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)