Writing & StyleStyle guide

Formatting Device and Port Names

Formatting Device and Port Names records the relevant Microsoft Style Guide convention while keeping it explicitly house-style scoped rather than presenting it as a universal grammar rule.

Quick answer

Use uppercase for device and port names such as LPT1 in Microsoft-style technical documentation.

Key details

Core IssueMicrosoft’s formatting guidance lists device and port names as uppercase technical elements.
RegisterMicrosoft technical and professional documentation

Important caveats

Scope Boundary

This guidance concerns named device/port identifiers, not every numeric network port reference.

Further guidance

Content

Use uppercase for device and port names such as LPT1 in Microsoft-style technical documentation.

Purpose

Microsoft’s formatting guidance lists device and port names as uppercase technical elements.

Sources and evidence

Sources are shown with the role they play in this guide. Historical or style-sensitive claims are kept within the evidence boundary described above.

  1. Formatting common text elements — Microsoft Style Guide (opens in a new tab)Microsoft · Microsoft technical-style conventions for error messages and common text elements
  2. Formatting text in instructions — Microsoft Style Guide (opens in a new tab)Microsoft · Current Microsoft technical-style conventions for formatting UI references, user input, commands, code-related elements, and other text in instructions.
  3. Formatting developer text elements — Microsoft Style Guide (opens in a new tab)Microsoft · Microsoft Style Guide conventions for formatting programmatic and code-related elements in developer content.

Explore the topic