Results 1 to 3 of 3

Thread: Comparing Files & Copying Files

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2001
    Location
    Scotland, UK
    Posts
    321

    Comparing Files & Copying Files

    Hi how do I:
    • Compare files in 2 diffrent directories
    • Copy a file from 1 dirtectory to another


    Thanks for any help, and have a merry christmas

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    We had a discussion about file comparasing in this thread: http://www.vbforums.com/showthread.p...hreadid=125193
    To copy a file simply use the FileCopy statement:
    VB Code:
    1. FileCopy "c:\OneFolder\TheFile.txt", "c:\OtherFolder\TheNewFileName.txt"
    Best regards

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2001
    Location
    Scotland, UK
    Posts
    321
    thanks

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