1

Topic: Folder scanning, performance of action after file finding

Hello.
There is a program which scans the given directory on contents.
That is, when in this directory there is any file, it deduces at once the information in the field.
To me it is necessary as that to overwork the program that when the file appeared in this directory other program exe on  at once was launched.
How it can be organized?

2

Re: Folder scanning, performance of action after file finding

Deliger_55 wrote:

Hello.
There is a program which scans the given directory on contents.
That is, when in this directory there is any file, it deduces at once the information in the field.
To me it is necessary as that to overwork the program that when the file appeared in this directory other program exe on  at once was launched.
How it can be organized?
the Enclosed file (ChangeNotify.zip - 5Kb)

WinExec

3

Re: Folder scanning, performance of action after file finding

I understand it, but where it to register in the program there? Here that is interesting

4

Re: Folder scanning, performance of action after file finding

Deliger_55 wrote:

but where it to register in the program there?

In a cycle on FindNext.

5

Re: Folder scanning, performance of action after file finding

Dimitry Sibiryakov;
Write , I

6

Re: Folder scanning, performance of action after file finding

Deliger_55 wrote:

I understand It, but where it to register in the program there? Here that is interesting

Instead:

Deliger_55 wrote:

it deduces at once the information in the field

7

Re: Folder scanning, performance of action after file finding

defecator, there as that not clearly it deduces , like  built in in what that . There is no such for example an output in Memo /
Here I also became puzzled. Look in the code if not heavily

8

Re: Folder scanning, performance of action after file finding

The code had a look.
Add in procedure TScanThread. AddEvent
More to help there is nothing, time you the beginner

9

Re: Folder scanning, performance of action after file finding

defecator, now I will try

10

Re: Folder scanning, performance of action after file finding

Deliger_55, There there is no such procedure, probably she needs to be added?

11

Re: Folder scanning, performance of action after file finding

defecator, There there is no such procedure, likely she needs to be added?

12

Re: Folder scanning, performance of action after file finding

Deliger_55 wrote:

Deliger_55, There there is no such procedure, probably she needs to be added?

You were engaged in at all the business

13

Re: Folder scanning, performance of action after file finding

defecator, Earned, thanks. I did not know that there still there is a code, it probably a flow.

14

Re: Folder scanning, performance of action after file finding

Deliger_55 wrote:

defecator, Earned, thanks. I did not know that there still there is a code, it probably a flow.

Probably, aha:-D

15

Re: Folder scanning, performance of action after file finding

Divorce of 100 %