Results 1 to 2 of 2

Thread: Stopping a FileCopy

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Location
    UK
    Posts
    78

    Question

    Hi,
    How can I stop a FileCopy ?
    The source filesize would be unknown and the amount copied is not important.
    Let's say I was copying a file using the VB FileCopy Command, but how do I stop it after say about a second or so.

    Example:
    FileCopy "source","dest"
    Sleep 1000 (or whatever)
    >>>What now to stop FileCopy?<<<

    BTW, It has to be FileCopy NOT open/get e.t.c.

    Thanks


  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    I have said before that I hate it when people say "I don't think you can do that" but I'm saying it now!



    commands like Filecopy run to completion before running the next statment.


    Why don't you want to use open get put etc?





    Mark
    -------------------

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