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.

83 lines
2.9 KiB

  1. // Copyright (c) 1998-1999 Microsoft Corporation
  2. #ifdef NOMINMAX
  3. #undef NOMINMAX
  4. #endif
  5. #include <winver.h>
  6. #include <ntverp.h>
  7. #include "cprofile.h"
  8. #define VER_FILETYPE VFT_APP
  9. #define VER_FILESUBTYPE VFT2_UNKNOWN
  10. #define VER_FILEDESCRIPTION_STR "Clean Profile Utility"
  11. #define VER_INTERNALNAME_STR "cprofile"
  12. #define VER_ORIGINALFILENAME_STR "cprofile.exe"
  13. #include <verall.h>
  14. #include "common.ver"
  15. STRINGTABLE
  16. BEGIN
  17. IDS_USAGE_CMDLINE
  18. L"CPROFILE [/L] [/I] [/V] filelist\n"
  19. IDS_USAGE_DESCR1
  20. L"\nCleans the specified profiles of wasted space and removes user-specific file\nassociations from the registry when disabled.\n\n"
  21. IDS_USAGE_DESCR2
  22. L"\nThis tool will not modify profiles that are currently in use.\n"
  23. IDS_USAGE_OPTION_LIST
  24. L"\n"
  25. IDS_USAGE_LOPTION
  26. L" /L Clean all local profiles (filelist need not be specified).\n"
  27. IDS_USAGE_IOPTION
  28. L" /I Interactively prompt the user with each profile.\n"
  29. IDS_USAGE_VOPTION
  30. L" /V Provide verbose output.\n"
  31. IDS_USAGE_HOPTION
  32. L"\n"
  33. IDS_MSG_PROCESSING
  34. L"Processing file: %ws\n"
  35. IDS_MSG_MODIFY_PROMPT
  36. L"Modify (Y)es, (N)o, or (Q)uit [default=n]? "
  37. IDS_UI_YES_CHAR
  38. L"Y"
  39. IDS_UI_NO_CHAR
  40. L"N"
  41. IDS_UI_QUIT_CHAR
  42. L"Q"
  43. IDS_ERROR_INVALID_PARAMETERS
  44. L"Invalid parameter(s)\n"
  45. IDS_ERROR_MALLOC
  46. L"Error allocating memory\n"
  47. IDS_ERROR_PRIVILEGE_NOT_AVAILABLE
  48. L"Privilege was not available to perform requested operation\n"
  49. IDS_ERROR_MISSING_PROFILE_LIST
  50. L"Unable to find the list of local profiles\n"
  51. IDS_ERROR_MISSING_LPROFILE
  52. L"Unable to find the local profile path for %ws\n"
  53. IDS_ERROR_BAD_LPROFILE
  54. L"Unable to process local profile path for %ws\n"
  55. IDS_ERROR_SAVING_PROFILE
  56. L"Unable to save the profile %ws. Profile skipped.\n"
  57. IDS_ERROR_OPENING_PROFILE
  58. L"Unable to open the profile %ws. Profile skipped.\n"
  59. IDS_ERROR_INVALID_USER_RESP
  60. L"Invalid response... Please try again [y|n|q] "
  61. IDS_ERROR_MISSING_RESOURCES
  62. L"Missing resources for Application\n"
  63. IDS_ERROR_BAD_PROFILE
  64. L"File is not of correct format for profile\n"
  65. IDS_ERROR_PROFILE_LOAD_ERR
  66. L"Failed to load profile, error=%d\n"
  67. IDS_ERROR_PROFILE_INUSE
  68. L"Profile is being used and cannot be processed\n"
  69. IDS_ERROR_NOT_ADMIN
  70. L"You must be an administrator to run the CPROFILE utility\n"
  71. IDS_ERROR_NOT_TS
  72. L"This utility needs Terminal Services to be running.\n"
  73. END