Monitoring a file copy operation initiated from the command line

I want to control the copy file function using Delphi.

I can do this in windows explorer with shell notification.

My problem is copying the file using the command line.

How can I monitor the progress of an operation on a copy file that has been run on the command line using Delphi?

+2


source to share


1 answer


I have personally used these two:

Ah - just figured out that part of your Win32 answer is also answered here and this answer contains some sample code.



There is also another Win32 way to do this : using ReadDirectoryChangesW , but I haven't personally used it.

Good luck!

- Jeroen

+5


source







All Articles