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.

73 lines
4.3 KiB

  1. #include "resource.h"
  2. #include "cmdlineres.h"
  3. #include "cmdline.rc"
  4. STRINGTABLE DISCARDABLE
  5. BEGIN
  6. IDS_MAIN_HELP_BEGIN "\nSyntax:\n\n"
  7. IDS_USAGE_7 " COMPRESS [-R] [-D] [-S] [ -Z | -ZX ] Source Destination\n"
  8. IDS_USAGE_8 " COMPRESS -R [-D] [-S] [ -Z | -ZX ] Source [Destination]\n\n"
  9. IDS_USAGE_9 "Description:\n"
  10. IDS_USAGE_10 " Compresses one or more files.\n\n"
  11. IDS_USAGE_11 "Parameter List:\n"
  12. IDS_USAGE_12 " -R Rename compressed files.\n\n"
  13. IDS_USAGE_13 " -D Update compressed files only if out of date.\n\n"
  14. IDS_USAGE_14 " -S Suppress copyright information.\n\n"
  15. IDS_USAGE_15 " -ZX LZX compression. This is default compression.\n\n"
  16. IDS_USAGE_16 " -Z MS-ZIP compression.\n\n"
  17. IDS_USAGE_17 " Source Source file specification. Wildcards may be\n"
  18. IDS_USAGE_18 " used.\n\n"
  19. IDS_USAGE_19 " Destination Destination file | path specification.\n"
  20. IDS_USAGE_20 " Destination may be a directory. If Source is\n"
  21. IDS_USAGE_21 " multiple files and -r is not specified,\n"
  22. IDS_USAGE_22 " Destination must be a directory.\n\n"
  23. IDS_USAGE_23 "Examples:\n"
  24. IDS_USAGE_24 " COMPRESS temp.txt compressed.txt \n"
  25. IDS_USAGE_25 " COMPRESS -R *.*\n"
  26. IDS_MAIN_HELP_END " COMPRESS -R *.exe *.dll compressed_dir\n"
  27. END
  28. STRINGTABLE DISCARDABLE
  29. BEGIN
  30. IDS_BANNER_TEXT "Microsoft (R) File Compression Utility Version\n"
  31. IDS_VER_PRODUCTVERSION_STR "Copyright (C) Microsoft Corp. 1990-1999. All rights reserved.\n\n"
  32. IDS_INVALID_SYNTAX "ERROR:Invalid Syntax.\n"
  33. IDS_HELP_MESSAGE "Type ""COMPRESS /?"" for usage.\n"
  34. IDS_NO_MEMORY "ERROR: Unable to allocate memory.\n"
  35. IDS_ERROR_TAG "ERROR: "
  36. IDS_DIRECTORY_NOTFOUND "ERROR: The destination directory is not found.\n"
  37. IDS_INVALID_DIRECTORY "ERROR: The destination is not a directory.\n"
  38. IDS_NO_DESTINATION_SPECIFIED "ERROR: No destination is specified.\n"
  39. IDS_FILE_NOTFOUND "ERROR: No source file is found for the pattern.\n\n"
  40. IDS_NO_SOURCEFILE "ERROR: The %s file is not found.\n\n"
  41. IDS_GEN_FAILURE "ERROR: Compressing %s to %s failed.\n"
  42. IDS_COLLISION "ERROR: Cannot compress a file onto itself:%s.\n\n"
  43. IDS_COMPRESSING "Compressing %s to %s.\n"
  44. IDS_COMPRESSING_MSZIP "Compressing %s to %s using MS-ZIP compression.\n"
  45. IDS_COMPRESSING_QUANTUM "Compressing %s to %s using QUANTUM compression.\nCompression level : %u.\nMemory window size: %u.\n\n"
  46. IDS_COMPRESSING_LZX "Compressing %s to %s using LZX compression.\nMemory window size: %u.\n"
  47. IDS_FILE_REPORT "%s: %ld bytes compressed to %ld bytes, %d%% savings.\n"
  48. IDS_EMPTY_FILE_REPORT "%s: %ld bytes compressed to %ld bytes.\n"
  49. IDS_TOTAL_REPORT "Total savings: %d files, %ld bytes compressed to %ld bytes, %d%% savings.\n"
  50. IDS_FILE_NOT_FOUND "ERROR: Unable to open %s file.\n"
  51. IDS_FAILED_INITIALIZATION "ERROR: Unable to intialize the buffers for compression.\n"
  52. IDS_FAILED_WRITE_HDR "ERROR: Failed to write the Compress header into destination file.\n"
  53. IDS_ERROR_QUANTOM_LEVEL "ERROR: The Quantom level must be in 1-7.\n"
  54. IDS_MORETHAN_ONE_OPTION "ERROR: More than one option is not allowed.\n"
  55. IDS_NO_FILE_SPECIFIED "ERROR: No source file is specified.\n"
  56. INVALID_FILE_NAME "ERROR: The file %s is invalid.\n"
  57. IDS_FILE_ALREADY_UPDATED "INFO: Compressed File is already updated.\n"
  58. END
  59. //
  60. // Version resources
  61. //
  62. #include <ntverp.h>
  63. #define VER_FILETYPE VFT_APP
  64. #define VER_FILESUBTYPE VFT2_UNKNOWN
  65. #define VER_FILEDESCRIPTION_STR "Compress - Do the compression on files"
  66. #define VER_INTERNALNAME_STR "compress.exe"
  67. #define VER_ORIGINALFILENAME_STR "compress.exe"
  68. #include <common.ver>