Hello everyone, I want to search for a file and locate its location. I hope someone can provide some methods and suggestions, thank you in advance.
The specific description is as follows:
For example: my computer has two hard disks, and hard disk 1 has two partitions: C D, hard disk 2 has three partitions: E F G , test.txt in the test folder in the root directory of the first hard disk D drive
1. Use QM code Search for test.txt and then pop up a message box prompting its location: D:\test
2. Then copy the test.txt file to the root directory of all partitions except the partition (copy test.txt to C E F G partition respectively)
if the manual operation, I can complete the operation very simple, but I want to learn the programming algorithm in the code.
The specific description is as follows:
For example: my computer has two hard disks, and hard disk 1 has two partitions: C D, hard disk 2 has three partitions: E F G , test.txt in the test folder in the root directory of the first hard disk D drive
1. Use QM code Search for test.txt and then pop up a message box prompting its location: D:\test
2. Then copy the test.txt file to the root directory of all partitions except the partition (copy test.txt to C E F G partition respectively)
if the manual operation, I can complete the operation very simple, but I want to learn the programming algorithm in the code.