etoshey
etoshey

Reputation: 87

Monitoring a file copy operation initiated from the command prompt

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?

Upvotes: 2

Views: 685

Answers (1)

Jeroen Wiert Pluimers
Jeroen Wiert Pluimers

Reputation: 24523

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

Upvotes: 5

Related Questions