The short answer
Define an output file and how to check it. Handle my office work is too broad and lacks a stopping point.
Try it in three steps
- Create a directory containing only practice material.
- Specify a separate output file for the inventory.
- Compare counts and inspect a few entries.
A practice prompt
Before you start
Put a.txt and b.txt in a practice folder and place the output outside it to avoid counting the inventory itself.
Practice material (fictional)
Read the two practice filenames and save one per line to inventory.txt in the parent directory, leaving originals unchanged.Replace placeholders in the prompt with this material, or append the material if there are no placeholders. Reading time excludes doing the exercise.
Inventory the practice folder with names, types and relative paths. Create only the inventory, leave originals unchanged and report skipped items.What to look for (not a recorded test result)
The output should have a.txt and b.txt on two lines, without extra entries on rerun. This tests artifacts and repeatability.
If it goes wrong
If the folder is too large, reduce the sample before granting broader access.
Check your result
You can open and verify the output and confirm originals stayed unchanged.
References and scope
The links below support the concepts or product navigation. The steps and exercises are our teaching suggestions, not official certification or measured customer outcomes. Product interfaces and availability may change. References checked on 2026-10-17.