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.

48 lines
1.8 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 "flattemp.h"
  8. #define VER_FILETYPE VFT_APP
  9. #define VER_FILESUBTYPE VFT2_UNKNOWN
  10. #define VER_FILEDESCRIPTION_STR "Flat Temp Directory tool"
  11. #define VER_INTERNALNAME_STR "flattemp"
  12. #define VER_ORIGINALFILENAME_STR "flattemp.exe"
  13. #include <verall.h>
  14. #include "common.ver"
  15. STRINGTABLE
  16. BEGIN
  17. IDS_ERROR_MALLOC
  18. L"\nError allocating memory\n"
  19. IDS_ERROR_INVALID_PARAMETERS
  20. L"\nInvalid parameter(s)\n"
  21. IDS_HELP_USAGE1
  22. L"Enable or disable flat temporary directories.\n\n"
  23. IDS_HELP_USAGE2
  24. L"FLATTEMP [/QUERY | /ENABLE | /DISABLE]\n\n"
  25. IDS_HELP_USAGE3
  26. L" /QUERY Query current setting.\n"
  27. IDS_HELP_USAGE4
  28. L" /ENABLE Enable flat temporary directories.\n"
  29. IDS_HELP_USAGE5
  30. L" /DISABLE Disable flat temporary directories.\n\n"
  31. IDS_FLATTEMP_ENABLED
  32. L"\nTemporary directories will be flat (users will share the temporary directory\nunless the temporary directory resides in the user's home directory).\n"
  33. IDS_FLATTEMP_DISABLED
  34. L"\nEach user's temporary directory will reside in a separate directory\n(determined by the user's Session ID).\n"
  35. IDS_ACCESS_DENIED
  36. L"\nAccess denied to modify registry key.\n"
  37. IDS_ACCESS_DENIED_ADMIN
  38. L"\nYou must be an Administrator to run this utility.\n"
  39. IDS_ERROR_NOT_TS
  40. L"This utility needs Terminal Services to be running.\n"
  41. IDS_ACCESS_DENIED_DUE_TO_GROUP_POLICY
  42. L"Access denied due to presence of group policy for temp folders"
  43. END