Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Search for a file and locate its location
#1
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. Smile


Forum Jump:


Users browsing this thread: 1 Guest(s)