VB code monitors file changes on the desktop. For example, if a file is added to the desktop, immediately copy the file to drive D for backup.
Let me give you an idea. First, add a timer control. In the form_load event, first get the file names and file numbers of all files on the desktop and put them into an array and an integer variable. You can then use timer controls to monitor them in real time. If you find that the number of files has increased, you can judge the file names, exclude the same ones, choose different ones, and then copy them to disk D. The first paragraph of code can be written by yourself. It's a little late because you didn't give it to the second grade. If you want to write, it may take an hour. I'll give you a direction. If you think what I said is helpful to you, choose me. If you really want the code, it doesn't matter if you don't choose me I hope I can help you.