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.

43 lines
2.0 KiB

  1. #include <windows.h>
  2. #include <ntverp.h>
  3. #include "delprof.h"
  4. #define VER_FILETYPE VFT_APP
  5. #define VER_FILESUBTYPE VFT2_UNKNOWN
  6. #define VER_FILEDESCRIPTION_STR "Microsoft\256 DelProf Utility"
  7. #define VER_INTERNALNAME_STR "delprof.exe"
  8. #define VER_ORIGINALFILENAME_STR "delprof.exe"
  9. #include <common.ver>
  10. 1 ICON profile.ico
  11. STRINGTABLE
  12. BEGIN
  13. IDS_USAGE1 VER_PRODUCTNAME_STR " User Profile Deletion Utility v" VER_PRODUCTVERSION_STRING "\r\n"
  14. IDS_USAGE2 VER_LEGALCOPYRIGHT_STR "\r\n\r\n"
  15. IDS_USAGE3 "This utility deletes Windows NT, Windows 2000, Windows XP and Windows Server 2003 family user profiles.\r\n\r\n"
  16. IDS_USAGE4 "usage: DELPROF [/Q] [/I] [/P] [/C:\\\\<computername>] [/D:<days>]\r\n\r\n"
  17. IDS_USAGE5 "\t/Q\tQuiet, no confirmation.\r\n"
  18. IDS_USAGE6 "\t/I\tIgnore errors and continue deleting.\r\n"
  19. IDS_USAGE7 "\t/P\tPrompts for confirmation before deleting each profile.\r\n"
  20. IDS_USAGE8 "\t/C\tRemote computer name.\r\n"
  21. IDS_USAGE9 "\t/D\tNumber of days of inactivity.\r\n\r\n"
  22. IDS_CONFIRM "\r\nDelete inactive profiles on %s? (Yes/No) "
  23. IDS_CONFIRMDAYS "\r\nDelete profiles on %s that have not been used in the last %d days? (Yes/No) "
  24. IDS_NO "\r\nNothing deleted.\r\n"
  25. IDS_FAILEDPROFILELIST "Failed to open list of profiles.\r\n"
  26. IDS_FAILEDENUM "Failed to enumerate list of profiles.\r\n"
  27. IDS_FAILEDPATHQUERY "Failed to retrieve the profile path for %s.\r\n"
  28. IDS_FAILEDOPENPROFILE "Failed to open profile information for %s.\r\n"
  29. IDS_SKIPPROFILE "Skipping profile %s because it could not be expanded.\r\n"
  30. IDS_DELETEPROMPT "\r\nDelete %s? (Yes/No/All) "
  31. IDS_DELETING "Deleting %s..."
  32. IDS_SUCCESS " [Ok]\r\n"
  33. IDS_FAILED " [Failed]\r\n"
  34. END