I found a way.
First: installed inotifywait
Then : mounted USB drive in Router
I have an USB in the router, so I used a map for triggering.
I pinned (in windows on the taskbar) two batch files, to copy a file to the USB.
And after boot, the following script is automatically starting...