Is there a way to copy a text file that is being used by other program?
Is there a way to copy a text file that is being used by other program?
![]()
Please Login or Register to view this content.
If solved remember to mark Thread as solved
I will try this code, thanks. I will update the result.
By the way, I would like to mention that even when I do manual copying of the said file the permission is denied also or more accurately the error message is "Error copying file or folder"
I got the same error 70 after I tried it.
I tried other commands below, there is no error but there is no file as well:
CopyString = "CMD.EXE /C COPY " & SourceFile & _ " " & DestFile
and
Result = apiCopyFile(Source, Destination, False)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks