Avoiding Errors When Writing a Modem INF File

Use the following guidelines to avoid common errors in creating and editing a modem INF file:

  • Do not use the following characters in modem names: angle brackets (< >), semicolon (:), quotation marks ("), slash mark (/), backslash (\), and pipe (|) in the INF Strings section because these characters generally cause errors during installation or testing.

  • Do not use a period (.) at the end of a modem name in the INF Strings section, however, the modem manufacturer's name can end in a period.

  • Use the correct command or initialization strings specific to each modem supported by your INF file. Do not incorrectly apply an AT command or an initialization string to all modems by using a common add-registry-section. For example, a specific modem might require AT&F1 instead of AT&F, or a modem might use \Tn for the inactivity timer instead of S30.

  • Make sure you use double percent signs (%%) or double quotation marks ("") in INF commands that contain % or " symbols. For example, use %%C1, not %C1, in a modem INF entry to enable compression, and use ""H3, not "H3. For more information about INF file syntax, see General Syntax Rules for INF Files.

  • Use the Chkinf tool located in the \tools directory of the Microsoft Windows Driver Kit (WDK) to double-check your work.

 

 

Send comments about this topic to Microsoft