2

I want to monitor the copy file function using Delphi.

I can do it in windows explorer with shell notifier.

My problem is when copying file with the command prompt.

How can I monitor the progress of a copy file operation that has been initiated at the command prompt, using Delphi?

JosephStyons
  • 57,317
  • 63
  • 160
  • 234
etoshey
  • 87
  • 6

1 Answers1

5

I personally used these two:

Ah - just found out the Win32 portion of your question is also answered here, and that answer has a code example.

There is also another Win32 way of doing this: using ReadDirectoryChangesW, but I don't have personally used it.

Good luck!

--jeroen

Community
  • 1
  • 1
Jeroen Wiert Pluimers
  • 23,965
  • 9
  • 74
  • 154