The information in this article applies to:
SUMMARYNlsmsg.exe, available in the Microsoft BackOffice Resource Kit, displays National Language Support (NLS) messages from logon scripts at run-time. This approach allows a single Systems Management Server logon server to support clients that use multiple languages. NLSMSG was created to replace echo and choice with something that can be localized and is language- independent. MORE INFORMATIONNLSMSG runs on x86 hardware. NLSMSG Syntax
NOTE: In most cases, only message_ID, and the /m, /c, and /t options are
used. However, in this case, NLSMSG looks for the Nlsres.ini file in the
directory that contains Nlsmsg*.exe. Nlsres.ini specifies which resource
dynamic-link library (DLL) to use for the current language. The current
language DLL is opened, and the string corresponding to message_ID is
retrieved and displayed on the monitor.
The /n, /w, and /d options override the default language. Because NLSMSG attempts to determine the current language setting automatically, these options are usually not needed. message_IDIdentifies the message ID of an NLS string and refers to the string table ID in a resource-only DLL. By default, NLSMSG uses Nls_ls.dll from the appropriate language subdirectory. For example, X86.bin\00000409\Nls_ls.dll./f file_nameSpecifies a DLL file to search for the message specified by message_ID. This option enables you to use a different DLL to be used instead of the default: NLS_LS.DLL -- an approach that can be useful if you want to create your own language-independent scripts./m default_messageSpecifies a message that appears if there is an error finding the message specified by message_ID./c choicesSpecifies allowable user-response keys, such as Y or N. (This option behaves identically to /c for the choice command.)/t c,nnSpecifies a default choice, c, after nn seconds with no user response. (This option behaves identically to /t for the choice command.)/n NT_lang_IDSpecifies a Windows[ASCII 160]NT language ID to use; for example, U.S. English is 0x0409./w Win_lang_IDSpecifies a Windows language ID to use; for example, U.S. English is ENU./d DOS_country_codeSpecifies an MS-DOS country code to use; for example, United States is 1./p pathSpecifies a path to NLS files that overrides the default location, which is the same directory as the one containing Nlsmsg.exe./vVerbose mode. More output is displayed on the screen./?Provides a usage statement.Additional query words: prodsms
Keywords : |
Last Reviewed: September 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |