The question is like this, I believe friends who have taken the exam all know it:
Candidate directory ─┬─ AID ─── vow.cpp
├─ NOTE
├─ TABLE ─── DESK ─── stack.pas
├─ BOARD ─── SCALE ─── queue.h
├─ CASE ─── sly.bas
├─ MAIN ─── reply.dat
└─ DARK ─── DIM ─── imply.doc
1. Save the directory and file listing information of the AID subdirectory under the candidate directory into a new file bare.doc in the NOTE subdirectory under the candidate directory.
2. Save the directory and file listing information of the BOARD subdirectory under the candidate directory into a new file half in the NOTE subdirectory under the candidate directory.
I don't have any related materials, so I have no idea how to start. Please give me some guidance, thank you!
Candidate directory ─┬─ AID ─── vow.cpp
├─ NOTE
├─ TABLE ─── DESK ─── stack.pas
├─ BOARD ─── SCALE ─── queue.h
├─ CASE ─── sly.bas
├─ MAIN ─── reply.dat
└─ DARK ─── DIM ─── imply.doc
1. Save the directory and file listing information of the AID subdirectory under the candidate directory into a new file bare.doc in the NOTE subdirectory under the candidate directory.
2. Save the directory and file listing information of the BOARD subdirectory under the candidate directory into a new file half in the NOTE subdirectory under the candidate directory.
I don't have any related materials, so I have no idea how to start. Please give me some guidance, thank you!

