#include #include #include "delprof.h" #define VER_FILETYPE VFT_APP #define VER_FILESUBTYPE VFT2_UNKNOWN #define VER_FILEDESCRIPTION_STR "Microsoft\256 DelProf Utility" #define VER_INTERNALNAME_STR "delprof.exe" #define VER_ORIGINALFILENAME_STR "delprof.exe" #include 1 ICON profile.ico STRINGTABLE BEGIN IDS_USAGE1 VER_PRODUCTNAME_STR " User Profile Deletion Utility v" VER_PRODUCTVERSION_STRING "\r\n" IDS_USAGE2 VER_LEGALCOPYRIGHT_STR "\r\n\r\n" IDS_USAGE3 "This utility deletes Windows NT, Windows 2000 and Windows XP user profiles.\r\n\r\n" IDS_USAGE4 "usage: DELPROF [/Q] [/I] [/P] [/C:\\\\] [/D:]\r\n\r\n" IDS_USAGE5 "\t/Q\tQuiet, no confirmation.\r\n" IDS_USAGE6 "\t/I\tIgnore errors and continue deleting.\r\n" IDS_USAGE7 "\t/P\tPrompts for confirmation before deleting each profile.\r\n" IDS_USAGE8 "\t/C\tRemote computer name.\r\n" IDS_USAGE9 "\t/D\tNumber of days of inactivity.\r\n\r\n" IDS_CONFIRM "\r\nDelete inactive profiles on %s? (Yes/No) " IDS_CONFIRMDAYS "\r\nDelete profiles on %s that have not been used in the last %d days? (Yes/No) " IDS_NO "\r\nNothing deleted.\r\n" IDS_FAILEDPROFILELIST "Failed to open list of profiles.\r\n" IDS_FAILEDENUM "Failed to enumerate list of profiles.\r\n" IDS_FAILEDPATHQUERY "Failed to retrieve the profile path for %s.\r\n" IDS_FAILEDOPENPROFILE "Failed to open profile information for %s.\r\n" IDS_SKIPPROFILE "Skipping profile %s because it could not be expanded.\r\n" IDS_DELETEPROMPT "\r\nDelete %s? (Yes/No/All) " IDS_DELETING "Deleting %s..." IDS_SUCCESS " [Ok]\r\n" IDS_FAILED " [Failed]\r\n" END