If I use:
[tt]
FileSystemObject.CopyFile "c:\mydocuments\letter.doc", "c:\tempfolder\"
[/tt]or [tt]
FileCopy "c:\mydocuments\letter.doc" , "c:\tempfolder\letter.doc"
[/tt]
What do I need to do before I can:
[tt]
Kill "c:\mydocuments\letter.doc"[/tt]
I need to wait until the file is done copying, right?
So if I have the FileCopy and just after that a Kill statement, I cannot Kill the file because it is copied.
BTW, I don't want to Move the file.
Have fun.
---- Andy
A bus station is where a bus stops. A train station is where a train stops. On my desk, I have a work station.
[tt]
FileSystemObject.CopyFile "c:\mydocuments\letter.doc", "c:\tempfolder\"
[/tt]or [tt]
FileCopy "c:\mydocuments\letter.doc" , "c:\tempfolder\letter.doc"
[/tt]
What do I need to do before I can:
[tt]
Kill "c:\mydocuments\letter.doc"[/tt]
I need to wait until the file is done copying, right?
So if I have the FileCopy and just after that a Kill statement, I cannot Kill the file because it is copied.
BTW, I don't want to Move the file.
Have fun.
---- Andy
A bus station is where a bus stops. A train station is where a train stops. On my desk, I have a work station.