Step Into Labs

Step Into C · Module exam · Windows C

Exam: The Path Checker

Ask Windows about files the Windows way: UTF-16, attribute bits and real error messages.

Part of Step Into C. The full module exam, its missions and the real compiler and debugger are in the course. Try a free lesson first to see how it works.

Write a small Windows tool that takes paths on the command line and reports what each one is. When something does not exist, it shows the exact message Windows itself would show. Its exit code tells a script how many paths failed. It is the sort of helper every Windows developer ends up writing, done properly: wide strings, Windows types and Windows error codes.

In this module exam

Missions

  1. Describe every path