Source code of Windows XP (NT5)
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.

153 lines
4.2 KiB

  1. ;//+-------------------------------------------------------------------------
  2. ;//
  3. ;// Microsoft Windows
  4. ;// Copyright (C) Microsoft Corporation, 1992 - 1993.
  5. ;//
  6. ;// File: messages.mc
  7. ;//
  8. ;// Contents: Main message file
  9. ;//
  10. ;// History: dd-mmm-yy Author Comment
  11. ;// 12-Jan-94 WilliamW Created for Dfs Administrator project
  12. ;//
  13. ;// Notes:
  14. ;// A .mc file is compiled by the MC tool to generate a .h file and
  15. ;// a .rc (resource compiler script) file.
  16. ;//
  17. ;// Comments in .mc files start with a ";".
  18. ;// Comment lines are generated directly in the .h file, without
  19. ;// the leading ";"
  20. ;//
  21. ;// See mc.hlp for more help on .mc files and the MC tool.
  22. ;//
  23. ;//--------------------------------------------------------------------------
  24. ;#ifndef __MESSAGES_H__
  25. ;#define __MESSAGES_H__
  26. MessageIdTypedef=HRESULT
  27. SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
  28. CoError=0x2:STATUS_SEVERITY_COERROR
  29. )
  30. ;#ifdef FACILITY_NULL
  31. ;#undef FACILITY_NULL
  32. ;#endif
  33. ;#ifdef FACILITY_RPC
  34. ;#undef FACILITY_RPC
  35. ;#endif
  36. ;#ifdef FACILITY_DISPATCH
  37. ;#undef FACILITY_DISPATCH
  38. ;#endif
  39. ;#ifdef FACILITY_STORAGE
  40. ;#undef FACILITY_STORAGE
  41. ;#endif
  42. ;#ifdef FACILITY_ITF
  43. ;#undef FACILITY_ITF
  44. ;#endif
  45. ;#ifdef FACILITY_WIN32
  46. ;#undef FACILITY_WIN32
  47. ;#endif
  48. ;#ifdef FACILITY_WINDOWS
  49. ;#undef FACILITY_WINDOWS
  50. ;#endif
  51. FacilityNames=(Null=0x0:FACILITY_NULL
  52. Rpc=0x1:FACILITY_RPC
  53. Dispatch=0x2:FACILITY_DISPATCH
  54. Storage=0x3:FACILITY_STORAGE
  55. Interface=0x4:FACILITY_ITF
  56. Win32=0x7:FACILITY_WIN32
  57. Windows=0x8:FACILITY_WINDOWS
  58. )
  59. ;//
  60. ;// Start message values at 0x100
  61. ;//
  62. ;#ifdef MOVERENAME
  63. ;// /move \\dfsname\dfsshare\path1 \\dfsname\dfsshare\path2
  64. ;// Move a Dfs junction point.
  65. ;// /rename \\dfsname\dfsshare\path1 \\dfsname\dfsshare\path2
  66. ;// Rename a folder that is in the Dfs.
  67. ;#endif
  68. MessageId=0x100 Facility=Null Severity=Success SymbolicName=MSG_FIRST_MESSAGE
  69. Language=English
  70. .
  71. MessageId= Facility=Null Severity=Success SymbolicName=MSG_USAGE
  72. Language=English
  73. The syntax of this command is:
  74. DFSCMD [options]
  75. DFSCMD configures a Dfs tree.
  76. [options] can be:
  77. /help
  78. Display this message.
  79. /map \\dfsname\dfsshare\path \\server\share\path [comment] [/restore]
  80. Create a Dfs volume; map a Dfs path to a server path. With /restore,
  81. do no checks of destination server.
  82. /unmap \\dfsname\dfsshare\path
  83. Delete a Dfs volume; remove all its replicas.
  84. /add \\dfsname\dfsshare\path \\server\share\path [/restore]
  85. Add a replica to a Dfs volume. With /restore, do no checks of
  86. destination server.
  87. /remove \\dfsname\dfsshare\path \\server\share\path
  88. Remove a replica from a Dfs volume.
  89. /view \\dfsname\dfsshare [/partial | /full | /batch || /batchrestore]
  90. View all the volumes in the Dfs. Without arguments, view just
  91. the volume names. With /partial, view comment also. With /full,
  92. display a list of all the servers for a volume. With /batch,
  93. output a batch file to recreate the dfs. With /batchrestore,
  94. output a batch file to recreate the dfs using the /restore switch.
  95. Note that paths or comments with spaces should be enclosed in quotes.
  96. .
  97. MessageId= Facility=Null Severity=Success SymbolicName=MSG_OUTOFMEMORY
  98. Language=English
  99. Out of memory.
  100. .
  101. MessageId= Facility=Null Severity=Success SymbolicName=MSG_SUCCESSFUL
  102. Language=English
  103. The command completed successfully.
  104. .
  105. MessageId= Facility=Null Severity=Success SymbolicName=MSG_ERROR
  106. Language=English
  107. System error %1!d! has occurred.
  108. .
  109. MessageId= Facility=Null Severity=Success SymbolicName=MSG_ERROR_UNKNOWN
  110. Language=English
  111. Unknown error.
  112. .
  113. MessageId= Facility=Null Severity=Success SymbolicName=MSG_NO_MESSAGES
  114. Language=English
  115. Couldn't find message file %1!s!.
  116. .
  117. MessageId= Facility=Null Severity=Success SymbolicName=MSG_BAD_PATH
  118. Language=English
  119. Error analyzing input path.
  120. .
  121. MessageId= Facility=Null Severity=Success SymbolicName=MSG_BAD_PATH2
  122. Language=English
  123. Path %1!s! does not refer to a directory.
  124. .
  125. MessageId= Facility=Null Severity=Success SymbolicName=MSG_ERROR_CREATING_DIR
  126. Language=English
  127. Error creating directory %1!s!.
  128. .
  129. ;#endif // __MESSAGES_H__