//Microsoft Developer Studio generated resource script. // #include #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 command line tool enables an administrator to display the MAC\n" IDS_USG_7 " address for one or more 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 " /V Specifies that the detailed information\n " IDS_USG_19 " should be displayed in the output.\n\n" IDS_USG_20 " /NH Specifies that the ""Column Header"" should\n" IDS_USG_21 " not be displayed in the output.\n" IDS_USG_22 " Valid only for TABLE and CSV formats.\n\n" IDS_USG_23 " /? Displays this help/usage.\n\n" IDS_USG_24 "Examples: \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 retrive information due to WMI version mismatch.\n" IDS_NOT_RESPONDING "ERROR: The machine is located, but did not respond properly.\n" IDS_NO_MACHINE "ERROR: Machine is not found on the network.\n" IDS_INVALID_MACHINE "ERROR: Machine name is not a valid machine name.\n" IDS_WKST_NOT_FOUND "ERROR: Workstation service is 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 #define VER_FILETYPE VFT_APP #define VER_FILESUBTYPE VFT2_UNKNOWN #define VER_FILEDESCRIPTION_STR "Get MAC Address" #define VER_INTERNALNAME_STR "GetMac.exe" #define VER_ORIGINALFILENAME_STR "GetMac.exe" #include