You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
118 lines
5.7 KiB
118 lines
5.7 KiB
//Microsoft Developer Studio generated resource script.
|
|
//
|
|
#include <windows.h>
|
|
#include "resource.h"
|
|
|
|
#include "cmdlineres.h"
|
|
#include "cmdline.rc"
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_USAGE_BEGINING "\nGETMAC [/S system [/U username [/P [password]]]] [/FO format] [/NH] [/V]\n"
|
|
IDS_USG_4 "\n"
|
|
IDS_USG_5 "Description:\n"
|
|
IDS_USG_6 " This tool enables an administrator to display the MAC address\n"
|
|
IDS_USG_7 " for network adapters on a system.\n"
|
|
IDS_USG_8 "\n"
|
|
IDS_USG_9 "Parameter List: \n"
|
|
IDS_USG_10 " /S system Specifies the remote system to connect to.\n\n"
|
|
IDS_USG_11 " /U [domain\\]user Specifies the user context under \n"
|
|
IDS_USG_12 " which the command should execute.\n\n"
|
|
IDS_USG_13 " /P [password] Specifies the password for the given\n"
|
|
IDS_USG_14 " user context. Prompts for input if omitted.\n\n"
|
|
IDS_USG_15 " /FO format Specifies the format in which the output\n"
|
|
IDS_USG_16 " is to be displayed.\n"
|
|
IDS_USG_17 " Valid values: ""TABLE"", ""LIST"", ""CSV"".\n\n"
|
|
IDS_USG_18 " /NH Specifies that the ""Column Header"" should\n"
|
|
IDS_USG_19 " not be displayed in the output.\n"
|
|
IDS_USG_20 " Valid only for TABLE and CSV formats.\n\n"
|
|
IDS_USG_21 " /V Specifies that verbose output is displayed.\n\n"
|
|
IDS_USG_22 " /? Displays this help message.\n\n"
|
|
IDS_USG_23 "Examples: \n"
|
|
IDS_USG_24 " GETMAC /? \n"
|
|
IDS_USG_25 " GETMAC /FO csv \n"
|
|
IDS_USG_26 " GETMAC /S system /NH /V\n"
|
|
IDS_USG_27 " GETMAC /S system /U user\n"
|
|
IDS_USG_28 " GETMAC /S system /U domain\\user /P password /FO list /V\n"
|
|
IDS_USAGE_ENDING " GETMAC /S system /U domain\\user /P password /FO table /NH\n"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_USER_NMACHINE "ERROR: Invalid syntax. /U can be specified only when /S is specified.\nType ""GETMAC /?"" for usage.\n"
|
|
IDS_SERVER_NPASSWORD "ERROR: Invalid syntax. /P can be specified only when /U is specified.\nType ""GETMAC /?"" for usage.\n"
|
|
IDS_ERROR_VERSION_MISMATCH "ERROR: Could not retrieve information due to WMI version mismatch.\n"
|
|
IDS_NOT_RESPONDING "ERROR: The machine failed to respond properly.\n"
|
|
IDS_NO_MACHINE "ERROR: The machine was not found on the network.\n"
|
|
IDS_INVALID_MACHINE "ERROR: Machine name was not a valid machine name.\n"
|
|
IDS_WKST_NOT_FOUND "ERROR: Workstation services are not running on the target machine.\n"
|
|
IDS_NULL_SERVER "ERROR: Invalid syntax. System name cannot be empty.\n"
|
|
IDS_NULL_USER "ERROR: Invalid syntax. User name cannot be empty.\n"
|
|
IDS_INVALID_OPTIONS "ERROR: Invalid syntax. /NH option is allowed only for TABLE and CSV formats.\nType ""GETMAC /?"" for usage.\n"
|
|
|
|
IDS_NO_NETWORK_ADAPTERS "INFO: No network adapters found.\n"
|
|
IDS_NO_NETWOK_PROTOCOLS "INFO: No network protocols found.\n"
|
|
IDS_IGNORE_LOCALCREDENTIALS "WARNING: User credentials cannot be used for local connections.\n"
|
|
IDS_TYPE_REQUEST "Type ""GETMAC /?"" for usage.\n"
|
|
IDS_ERROR_STRING "ERROR: "
|
|
IDS_WARNING_STRING "WARNING: "
|
|
IDS_NEW_LINE "\n"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_HYPHEN_STRING "-"
|
|
IDS_COLON_STRING ":"
|
|
FR_LIST "LIST"
|
|
FR_CSV "CSV"
|
|
FR_TABLE "TABLE"
|
|
IDS_FORMAT_TYPES "CSV|TABLE|LIST"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_NOT_AVAILABLE "N/A"
|
|
IDS_DISABLED "Disabled"
|
|
IDS_DISCONNECTED "Disconnected"
|
|
IDS_CONNECTING "Connecting..."
|
|
IDS_DISCONNECTING "Disconnecting"
|
|
IDS_HWNOTPRESENT "Hardware not present"
|
|
IDS_HWDISABLED "Hardware disabled"
|
|
IDS_HWMALFUNCTION "Hardware malfunction"
|
|
IDS_MEDIADISCONNECTED "Media disconnected"
|
|
IDS_AUTHENTICATION "Authentication"
|
|
IDS_AUTHENSUCCEEDED "Authentication succeeded"
|
|
IDS_AUTHENFAILED "Authentication failed"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
RES_HOST "Host Name"
|
|
RES_CONNECTION "Connection Name"
|
|
RES_ADAPTER "Network Adapter"
|
|
RES_ADDRESS "Physical Address"
|
|
RES_TRANSNAME "Transport Name"
|
|
|
|
IDS_HOST_NAME_WIDTH "15"
|
|
IDS_CONN_NAME_WIDTH "15"
|
|
IDS_ADAPT_TYPE_WIDTH "15"
|
|
IDS_MAC_ADDR_WIDTH "19"
|
|
IDS_TRANS_NAME_WIDTH "58"
|
|
END
|
|
|
|
//
|
|
// Version resources
|
|
//
|
|
#include <ntverp.h>
|
|
#define VER_FILETYPE VFT_APP
|
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
|
#define VER_FILEDESCRIPTION_STR "Displays NIC MAC information"
|
|
#define VER_INTERNALNAME_STR "GetMac.exe"
|
|
#define VER_ORIGINALFILENAME_STR "GetMac.exe"
|
|
#include <common.ver>
|