Leaked source code of windows server 2003
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.

225 lines
7.4 KiB

  1. /*** fileutil.msg - fileutil.c displayable strings
  2. *
  3. * Microsoft Confidential
  4. * Copyright (C) Microsoft Corporation 1993-1994
  5. * All Rights Reserved.
  6. *
  7. * History:
  8. * 20-Feb-1994 bens Initial version (moved from diamond.msg)
  9. * 24-Feb-1994 bens Messages for tempfile functions
  10. * 30-Mar-1994 bens CopyFile error messages
  11. * 03-Jun-1994 bens VER.DLL error messages
  12. * 09-Jun-1994 bens Add localization comments (whew!)
  13. */
  14. //** Error messages
  15. /*LOCALIZE
  16. *
  17. * Purpose: Indicates a file could not be found.
  18. * %1 = file name
  19. * Generate: Difficult -- Should never happen.
  20. * Expect: "Could not find file: foo.bar"
  21. */
  22. #define pszFILERR_FILE_NOT_FOUND "Could not find file: %1"
  23. /*LOCALIZE
  24. *
  25. * Purpose: Indicates a filename refers to a Directory or Device
  26. * %1 = file name
  27. * Generate: DO NOT TRY TO REPRO -- not reachable by EXTRACT.
  28. * Expect: "foo.bar is not a file."
  29. */
  30. #define pszFILERR_NOT_A_FILE "%1 is not a file"
  31. /*LOCALIZE
  32. *
  33. * Purpose: Indicates a filespec is too long.
  34. * %1 = file name
  35. * Generate: Type "EXTRACT /L 1234567890.....1234567890 /a loctest1.cab"
  36. * where "123...890" is 253 bytes long (can't do this under
  37. * MS-DOS or Win3.x, have to try NT).
  38. * Expect: "File name too long: 123....890\a.asc"
  39. */
  40. #define pszFILERR_PATH_TOO_LONG "File name too long: %1"
  41. /*LOCALIZE
  42. *
  43. * Purpose: Indicates a failure creating a file in a directory.
  44. * %1 = directory name
  45. * Generate: Connect drive X: to a read-only share (\\productss\release,
  46. * for example), and type "EXTRACT /L x:\ /E loctest1.cab".
  47. * Expect: "Could not create file in directory: x:\"
  48. */
  49. #define pszFILERR_DIR_NOT_WRITEABLE "Could not create file in directory: %1"
  50. /*LOCALIZE
  51. *
  52. * Purpose: Out of file handles trying to make sure directory exists.
  53. * %1 = directory name
  54. * Generate: Difficult -- DO NOT TRY TO REPRO.
  55. * Expect: "No more file handles: x:\foo"
  56. */
  57. #define pszFILERR_NO_MORE_FILE_HANDLES "No more file handles: %1"
  58. /*LOCALIZE
  59. *
  60. * Purpose: Path not found on file creation.
  61. * %1 = directory name
  62. * Generate: Difficult -- DO NOT TRY TO REPRO.
  63. * Expect: "Path is invalid: x:\foo"
  64. */
  65. #define pszFILERR_CANT_MAKE_DIR "Path is invalid: %1"
  66. /*LOCALIZE
  67. *
  68. * Purpose: Could not find a unique temporary file name.
  69. * %1 = number of different temp file names tried
  70. * %2 = directory name
  71. * Generate: Difficult -- DO NOT TRY TO REPRO.
  72. * Expect: "Ran out of temp file names after 999 attempts: x:\foo"
  73. */
  74. #define pszFILERR_OUT_OF_TMP_FILE_NAMES "Ran out of temp file names after %1 attempts: %2"
  75. /*LOCALIZE
  76. *
  77. * Purpose: Empty file name specified in path
  78. * %1 = filespec
  79. * Generate: Difficult -- DO NOT TRY TO REPRO.
  80. * Expect: "Missing file name: x:\foo\"
  81. */
  82. #define pszFILERR_EMPTY_FILE_NAME "Missing file name: %1"
  83. /*LOCALIZE
  84. *
  85. * Purpose: Cannot create a temporary file.
  86. * %1 = description
  87. * Generate: DO NOT TRY TO REPRO (code path not used in EXTRACT.EXE)
  88. * Expect: "Cannot create <description>"
  89. * ^^^^^^^^^^^^^^-------------
  90. */
  91. #define pszFILERR_CANT_CREATE_TMP "Cannot create %1"
  92. /*LOCALIZE
  93. *
  94. * Purpose: Cannot create a temporary file.
  95. * %1 = description
  96. * %2 = filespec
  97. * Generate: DO NOT TRY TO REPRO (code path not used in EXTRACT.EXE)
  98. * Expect: "Cannot create <description>: <filespec>
  99. */
  100. #define pszFILERR_CANT_CREATE_FILE "Cannot create %1: %2"
  101. /*LOCALIZE
  102. *
  103. * Purpose: Out of memory creating a temporary file.
  104. * %1 = filespec
  105. * Generate: DO NOT TRY TO REPRO (code path not used in EXTRACT.EXE)
  106. * Expect: "Out of memorying creating <filespec>"
  107. */
  108. #define pszFILERR_OUT_OF_MEMORY "Out of memorying creating %1"
  109. /*LOCALIZE
  110. *
  111. * Purpose: Cannot open specified temporary file.
  112. * %1 = description
  113. * %2 = filespec
  114. * Generate: DO NOT TRY TO REPRO (code path not used in EXTRACT.EXE)
  115. * Expect: "Cannot open <description>: <filespec>"
  116. */
  117. #define pszFILERR_CANNOT_OPEN_TMP "Cannot open %1: %2"
  118. /*LOCALIZE
  119. *
  120. * Purpose: Cannot close specified temporary file.
  121. * %1 = description
  122. * Generate: DO NOT TRY TO REPRO (code path not used in EXTRACT.EXE)
  123. * Expect: "Cannot close <description>"
  124. */
  125. #define pszFILERR_CANT_CLOSE_TMP "Cannot close %1"
  126. /*LOCALIZE
  127. *
  128. * Purpose: Cannot delete specified temporary file.
  129. * %1 = description
  130. * %2 = filespec
  131. * Generate: DO NOT TRY TO REPRO (code path not used in EXTRACT.EXE)
  132. * Expect: "Cannot delete <description>: <filespec>"
  133. */
  134. #define pszFILERR_CANT_DELETE_TMP "Cannot delete %1: %2"
  135. /*LOCALIZE
  136. *
  137. * Purpose: Cannot allocate buffer to copy a file.
  138. * %1 = source filespec
  139. * %2 = destination filespec
  140. * Generate: DO NOT TRY TO REPRO (code path not used in EXTRACT.EXE)
  141. * Expect: "Could not allocate buffer to copy <src> to <dst>"
  142. */
  143. #define pszFILERR_NO_MEMORY_FOR_BUFFER "Could not allocate buffer to copy %1 to %2"
  144. /*LOCALIZE
  145. *
  146. * Purpose: Cannot open source or destination for file copy.
  147. * %1 = filespec
  148. * Generate: DO NOT TRY TO REPRO (code path not used in EXTRACT.EXE)
  149. * Expect: "Cannot open file: <filespec>"
  150. */
  151. #define pszFILERR_OPEN_FAILED "Cannot open file: %1"
  152. /*LOCALIZE
  153. *
  154. * Purpose: Cannot get information about a file for file copy.
  155. * %1 = filespec
  156. * Generate: DO NOT TRY TO REPRO (code path not used in EXTRACT.EXE)
  157. * Expect: "Cannot get date/time/attributes from file: <filespec>"
  158. */
  159. #define pszFILERR_CANNOT_GET_FILE_INFO "Cannot get date/time/attributes from file: %1"
  160. /*LOCALIZE
  161. *
  162. * Purpose: Cannot set information about a file for file copy.
  163. * %1 = filespec
  164. * Generate: DO NOT TRY TO REPRO (code path not used in EXTRACT.EXE)
  165. * Expect: "Cannot set date/time/attributes from file: <filespec>"
  166. */
  167. #define pszFILERR_CANNOT_SET_FILE_INFO "Cannot set date/time/attributes for file: %1"
  168. /*LOCALIZE
  169. *
  170. * Purpose: Cannot read source file during file copy.
  171. * %1 = filespec
  172. * Generate: DO NOT TRY TO REPRO (code path not used in EXTRACT.EXE)
  173. * Expect: "Cannot read file: <filespec>"
  174. */
  175. #define pszFILERR_READ_FILE "Cannot read file: %1"
  176. /*LOCALIZE
  177. *
  178. * Purpose: Cannot write destination file during file copy.
  179. * %1 = filespec
  180. * Generate: DO NOT TRY TO REPRO (code path not used in EXTRACT.EXE)
  181. * Expect: "Cannot write file: <filespec>"
  182. */
  183. #define pszFILERR_WRITE_FILE "Cannot write file: %1"
  184. //*** THE END - fileutil.msg