特定のディレクトリ (以下の例では folderA ) のサブディレクトリにある "letter.txt" ファイルを検索するプログラムを作成する必要があります。
例えば:
folderA/
folderA1/...
folderA2/...
folderA3/...
folderA4/letter.txt
folderA5/...
どの API を使用する必要がありますか:
- list subdirectories of a specific directory ( folderA ),
- open each of these subdirectories ( folderA1, folderA2, folderA3, etc )
- search and open the file letter.txt ?