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

Thread: FileCopy

  1. #1
    Join Date
    Dec 1999
    Posts
    8

    FileCopy

    i no the code to copy a file to a location and its like this: FileCopy startpath, end path
    for some reason thats not working, any suggestions?


  2. #2
    Join Date
    Oct 1999
    Location
    CA
    Posts
    91

    Re: FileCopy

    Hey Mr. Bucket (or was it Piss? Dunno. Could never keep names straight.)

    Could you post a sample of the code you are using with the FileCopy statement? If you are dynamically creating your file path it may be incorrect, also, I don't believe FileCopy will create a directory if it doesn't exsist.

    Brewguru99

  3. #3
    Join Date
    Dec 1999
    Posts
    8

    Re: FileCopy

    hey, i got it worked out, i put:
    FileCopy "c:\whatever.whatever", "d:\whatever"
    i screwed around and i put:
    FileCopy "c:\whatever.whatever", "d:\whatever\whatever.whatever"
    and that worked, thnx anyways


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