By default, Windows hides known file extensions in File Explorer. This means document.docx appears as just document, and photo.jpg appears as photo. This is confusing and can be a security risk — malware often disguises itself as invoice.pdf.exe which appears as invoice.pdf with extensions hidden.
This command sets HideFileExt to 0 in the registry, then restarts Explorer to apply the change immediately.
You can also toggle this in File Explorer via View → Show → File name extensions.