windows-nt/Source/XPSP1/NT/admin/cmdline/scheduledtasks/scheduledtasks.rc
2020-09-26 16:20:57 +08:00

601 lines
37 KiB
Plaintext

#include "resource.h"
#include "windows.h"
#include "cmdlineres.h"
#include "cmdline.rc"
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_ERROR_PARSEPARAM "ERROR: Invalid syntax.\nType ""SCHTASKS /?"" for usage.\n"
IDS_MODIFIER_NA "ERROR: /MO option is not applicable for this type of scheduled item.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_INVALID_MODIFIER "ERROR: Invalid value for /MO [modifier] option.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_INVALID_VALUE_FOR_DAY "ERROR: Invalid value for /D [day] option.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_INVALID_VALUE_FOR_MON "ERROR: Invalid value for /M [months] option.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_MON_NA "ERROR: /M [months] option is not applicable for this specified type of scheduled item.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_INVALIDFORMAT_STARTDATE "ERROR: Invalid Start Date (Date should be in ""%1"" format).\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_NO_STARTDATE "ERROR: No Value specified for /SD [startdate] option.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_INVALIDFORMAT_ENDDATE "ERROR: Invalid End Date (Date should be in ""%1"" format).\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_ENDDATE_NA "ERROR: /ED [enddate] option is not applicable.\n\nType ""SCHTASKS /CREATE /?"" for usage."
IDS_INVALIDFORMAT_STARTTIME "ERROR: Invalid starttime value (Time should be in hh:mm:ss format).\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_NO_STARTTIME "ERROR: No value specified for /ST [starttime] option.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_STARTTIME_NA "ERROR: /ST [starttime] option is not applicable.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_NO_IDLETIME "ERROR: Idletime [/I] value must be specified.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_INVALIDORNO_IDLETIME "ERROR: Invalid idletime [/I] value (Valid range for idletime is 1-999).\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_NTAUTH_SYSTEM_ERROR "ERROR: Unable to change the Run as User name to ""NT AUTHORITY\SYSTEM"".\n"
IDS_INVALID_NET_ADDRESS "ERROR: The network address is invalid.\n"
IDS_FAILED_TOGET_USER "ERROR: Failed to get the user name.\n"
IDS_INVALID_ARG "ERROR: The supplied task name argument is not valid.\n"
IDS_NO_MEMORY "ERROR: Not enough memory is available.\n"
IDS_INVALID_TASK "ERROR: Invalid task name.\n"
IDS_INVALID_USERNAME "ERROR: User name cannot be NULL.\n"
IDS_TASKNAME_NOTEXIST "ERROR: The specified task name ""%s"" does not exist in the system.\n"
IDS_DELETE_SYNERROR "ERROR: Invalid syntax.\nType ""SCHTASKS /DELETE /?"" for usage.\n"
IDS_CHANGE_SYNERROR "ERROR: Invalid syntax.\nType ""SCHTASKS /CHANGE /?"" for usage.\n"
IDS_RUN_SYNERROR "ERROR: Invalid syntax.\nType ""SCHTASKS /RUN /?"" for usage.\n"
IDS_END_SYNERROR "ERROR: Invalid syntax.\nType ""SCHTASKS /END /?"" for usage.\n"
IDS_CREATE_USAGE "ERROR: Invalid syntax.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_INVALID_SCHEDTYPE "ERROR: Invalid Schedule Type specified.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_USERNAME_BUT_NOMACHINE "ERROR: Invalid syntax. Cannot specify user name without specifying system name.\nType ""SCHTASKS /?"" for usage.\n"
IDS_CPASSWORD_BUT_NOUSERNAME "ERROR: Invalid syntax Cannot specify password without specifying the user name.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_QPASSWORD_BUT_NOUSERNAME "ERROR: Invalid syntax. Cannot specify password without specifying the user name.\nType ""SCHTASKS /QUERY /?"" for usage.\n"
IDS_DPASSWORD_BUT_NOUSERNAME "ERROR: Invalid syntax. Cannot specify password without specifying the user name.\nType ""SCHTASKS /DELETE /?"" for usage.\n"
IDS_RPASSWORD_BUT_NOUSERNAME "ERROR: Invalid syntax. Cannot specify password without specifying the user name.\nType ""SCHTASKS /RUN /?"" for usage.\n"
IDS_EPASSWORD_BUT_NOUSERNAME "ERROR: Invalid syntax. Cannot specify password without specifying the user name.\nType ""SCHTASKS /END /?"" for usage.\n"
IDS_CHPASSWORD_BUT_NOUSERNAME "ERROR: Invalid syntax. Cannot specify password without specifying the user name.\nType ""SCHTASKS /CHANGE /?"" for usage.\n"
IDS_NO_CHANGE_OPTIONS "ERROR: Either /RU or /RP or /TR value is missing (Atleast one parameter is required).\nType ""SCHTASKS /CHANGE /?"" for usage.\n"
IDS_NO_PASSWORD "ERROR: Password cannot be NULL.\n"
IDS_RUN_ERROR "ERROR: Unable to run the scheduled task ""%1"".\n"
IDS_FAILED_TOSET_PARAMS "ERROR: Failed to set parameters.\n"
IDS_FAILED_TOGET_RUNASUSER "ERROR: Failed to get Run As User.\n"
IDS_DAYS_NA "ERROR: /D [day] option is not applicable for the specified type of scheduled item.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_CREATEFAIL_INVALIDARGS "ERROR: The scheduled task ""%1"" could not be created. \n"
IDS_CREATE_TASK_EXISTS "ERROR: The specified task name already exists in the system.\n"
IDS_INVALIDFORMAT_DATE "ERROR: Invalid date format specified.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_NOTAPPLICABLE_SDATE "ERROR: Start date not applicable.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_INVALIDIDLETIME_OPTION "ERROR: Invalid idletime option.\nType ""SCHTASKS /CREATE /?"" for usage."
IDS_INVALID_TASKLENGTH "ERROR: The scheduled task name cannot be null or more than 239 characters.\n"
IDS_INVALID_JOBNAME "ERROR: Invalid taskname specified.\n"
IDS_LOGGED_USER_ERR "ERROR: Could not get the current logged on user name.\n"
IDS_NOHEADER_NA "ERROR: The /NH [no header] switch cannot be used with the LIST format.\nType ""SCHTASKS /QUERY /?"" for usage.\n"
IDS_WRONG_INPUT_DELETE "ERROR: Invalid input.\nType ""SCHTASKS /DELETE /?"" for usage.\n"
IDS_IDLETIME_NA "ERROR: /I [idletime] option is not applicable for the specified type of scheduled item.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_NO_DAY_VALUE "ERROR: /D [day] value should be specifed.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_NO_MONTH_VALUE "ERROR: /M [month] value should be specifed.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_INVALID_TASKRUN "ERROR: The task to run [/TR] cannot be null or more than 262 characters.\n"
IDS_NO_SERVER "ERROR: Invalid syntax. System name [ /S ] cannot be empty.\n"
IDS_INVALID_SERVER "ERROR: Invalid system name specified.\n"
IDS_DELETEOPTION_ERROR "ERROR: Invalid syntax.\nType ""SCHTASKS /DELETE /?"" for usage.\n"
IDS_CREATEFILE_USAGE "ERROR: This feature is currently not implemented.\n"
IDS_RES_ERROR "ERROR: Invalid syntax.\nType ""SCHTASKS /?"" for usage.\n"
IDS_QUERY_USAGE "ERROR: Invalid syntax.\nType ""SCHTASKS /QUERY /?"" for usage.\n"
IDS_CREATE_READERROR "ERROR: Failed to retrieve task properties.\n"
IDS_ENDATE_INVALID "ERROR: End date must be same or later than the start date or current date.\n"
IDS_CREATE_ERR "ERROR: Invalid syntax.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_QUERY_READ """ERROR"""
IDS_LOGTYPE_ERROR "ERROR: "
IDS_MODIFIER_INVALID "ERROR: Invalid modifier value.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_QUERY_FORMAT_ERR "ERROR: Improper display format type specified.\nType ""SCHTASKS /QUERY /?"" for usage.\n"
IDS_IDLETIME_INVALID "ERROR: Invalid value given for /I [idletime] option.\nType ""SCHTASKS /CREATE /?"" for usage.\n"
IDS_INVALID_TASKNAME1 "ERROR: The creation of the scheduled task failed.\n"
IDS_OPEN_FAILED "\nERROR: Failed to open ""StdIn.txt"" file.\n"
IDS_READ_FAILED "\nERROR: Failed to read ""StdIn.txt"" file.\n"
IDS_INVALID_PASSWORD "ERROR: Password cannot be more than 64 characters.\n"
IDS_INVALID_UNAME "ERROR: Username cannot be more than 64 characters.\n"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_RUNNING_ALREADY "INFO: scheduled task ""%1"" has already been running.\n"
IDS_NTAUTH_SYSTEM_INFO "INFO: The Schedule Task ""%1"" will be created under user name (""NT AUTHORITY\SYSTEM"").\n"
IDS_NTAUTH_SYSTEM_CHANGE_INFO "INFO: The run as user name for the scheduled task ""%1"" will be changed to ""NT AUTHORITY\SYSTEM"".\n"
IDS_TASKNAME_NOTASKS "INFO: There are no scheduled tasks present in the system.\n"
IDS_INVALID_TASKNAME2 "Reason: The Task Name may not contain the characters: <, >, :, /, \\,|. \n"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_INVALID_USER "WARNING: The Scheduled task ""%1"" has been created, but may not run because the account information could not be set.\n"
IDS_SCHEDULER_NOT_RUNNING "WARNING: The Scheduled task ""%1"" has been created, but may not run because the task scheduler service is not running.\n"
IDS_RPC_SERVER_NOT_AVAIL "WARNING: The Scheduled task ""%1"" has been created, but may not run because the task scheduler service is not running on ""%2"" system.\n"
IDS_PASSWORD_NOEFFECT "WARNING: Password will be ignored for ""NT AUTHORITY\SYSTEM"" user.\n"
IDS_WARN_DELETEALL "WARNING: Are you sure you want to remove all the tasks (Y/N) ? "
IDS_WARN_DELETE "WARNING: Are you sure you want to remove the task ""%1"" (Y/N )? "
IDS_WARN_EMPTY_PASSWORD "WARNING: When the run as password is empty, the scheduled task may not run because of the security policy\n"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_SUCCESS_DELETED "SUCCESS: The scheduled task ""%1"" was successfully deleted.\n"
IDS_CREATE_SUCCESSFUL "SUCCESS: The scheduled task ""%1"" has successfully been created.\n"
IDS_CHANGE_SUCCESSFUL "SUCCESS: The parameters of scheduled task ""%1"" have been changed.\n"
IDS_RUN_SUCCESSFUL "SUCCESS: Attempted to run the scheduled task ""%1"".\n"
IDS_END_SUCCESSFUL "SUCCESS: The scheduled task ""%1"" has been terminated successfully.\n"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_STATUS_UNKNOWN "Unknown"
IDS_STATUS_NOTSCHED "Missed"
IDS_TASK_PROPERTY_UNKNOWN "Unknown"
IDS_TASK_PROPERTY_DISABLED "Disabled"
IDS_TASK_PROPERTY_NONE "None"
IDS_TASK_PROPERTY_ENABLED "Enabled"
IDS_USER_UNKNOWN "Could not be retrieved from the task scheduler database"
IDS_ACCNAME_ERR "Ensure the account name specified is valid."
IDS_MINUTES "Minutes"
IDS_MMDDYY_FORMAT "mm/dd/yyyy"
IDS_DDMMYY_FORMAT "dd/mm/yyyy"
IDS_YYMMDD_FORMAT "yyyy/mm/dd"
IDS_MMDDYY_VALUE "10/20/2001"
IDS_DDMMYY_VALUE "15/09/2001"
IDS_YYMMDD_VALUE "2001/12/30"
IDS_TASK_IDLE "At idle time"
IDS_TASK_SYSSTART "At system start up"
IDS_TASK_LOGON "At logon time"
IDS_TASK_NEVER "Never"
IDS_STATUS_RUNNING "Running"
IDS_STATUS_READY ""
IDS_STATUS_NOTYET ""
IDS_STATUS_COULDNOTSTART "Could not start"
IDS_STATUS_SCHEDULED "Scheduled"
IDS_PROMPT_USERNAME "Please enter the run as user name: "
IDS_PROMPT_PASSWD "Please enter the run as password for %1: "
IDS_PROMPT_CHGPASSWD "Please enter the run as password for ""%1"": "
IDS_TASK_INFO "The task will be created under current logged-on user name (""%1"").\n"
IDS_USER_INFO "The task will be created under the user name (""%1"").\n"
IDS_SCHEDTYPE_MINUTE "MINUTE"
IDS_SCHEDTYPE_HOUR "HOURLY"
IDS_SCHEDTYPE_DAILY "DAILY"
IDS_SCHEDTYPE_WEEK "WEEKLY"
IDS_SCHEDTYPE_MONTHLY "MONTHLY"
IDS_SCHEDTYPE_ONCE "ONCE"
IDS_SCHEDTYPE_STARTUP "ONSTART"
IDS_SCHEDTYPE_LOGON "ONLOGON"
IDS_SCHEDTYPE_IDLE "ONIDLE"
IDS_QUERY_NOENDDATE "N/A"
IDS_TASK_PROPERTY_NA "N/A"
IDS_TASK_PROPERTY_ONCE "One Time Only"
IDS_TASK_PROPERTY_NEVER "Never"
IDS_TASK_PROPERTY_DAILY "Daily "
IDS_TASK_PROPERTY_HOURLY "Hourly "
IDS_TASK_PROPERTY_MINUTE "Minute "
IDS_TASK_HOURLY "hour(s)"
IDS_TASK_MINUTE "minute(s)"
IDS_TASK_PROPERTY_WEEKLY "Weekly"
IDS_TASK_PROPERTY_MONTHLY "Monthly"
IDS_TASK_PROPERTY_SPMONTHS "Specific Days in a Month(s),Week(s),Day(s)"
IDS_TASK_PROPERTY_UNDEF "Undefined"
IDS_TASK_SUNDAY "SUNDAY"
IDS_TASK_MONDAY "MONDAY"
IDS_TASK_TUESDAY "TUESDAY"
IDS_TASK_WEDNESDAY "WEDNESDAY"
IDS_TASK_THURSDAY "THURSDAY"
IDS_TASK_FRIDAY "FRIDAY"
IDS_TASK_SATURDAY "SATURDAY"
IDS_TASK_JANUARY "JAN"
IDS_TASK_FEBRUARY "FEB"
IDS_TASK_MARCH "MAR"
IDS_TASK_APRIL "APR"
IDS_TASK_MAY "MAY"
IDS_TASK_JUNE "JUN"
IDS_TASK_JULY "JUL"
IDS_TASK_AUGUST "AUG"
IDS_TASK_SEPTEMBER "SEP"
IDS_TASK_OCTOBER "OCT"
IDS_TASK_NOVEMBER "NOV"
IDS_TASK_DECEMBER "DEC"
IDS_TASK_FIRSTWEEK "First"
IDS_TASK_SECONDWEEK "Second"
IDS_TASK_THIRDWEEK "Third"
IDS_TASK_FOURTHWEEK "Fourth"
IDS_TASK_LASTWEEK "Last"
IDS_QUERY_FORMAT_TABLE "TABLE"
IDS_QUERY_FORMAT_LIST "LIST"
IDS_QUERY_FORMAT_CSV "CSV"
IDS_MONTH_MODIFIER_JAN "JAN"
IDS_MONTH_MODIFIER_FEB "FEB"
IDS_MONTH_MODIFIER_MAR "MAR"
IDS_MONTH_MODIFIER_APR "APR"
IDS_MONTH_MODIFIER_MAY "MAY"
IDS_MONTH_MODIFIER_JUN "JUN"
IDS_MONTH_MODIFIER_JUL "JUL"
IDS_MONTH_MODIFIER_AUG "AUG"
IDS_MONTH_MODIFIER_SEP "SEP"
IDS_MONTH_MODIFIER_OCT "OCT"
IDS_MONTH_MODIFIER_NOV "NOV"
IDS_MONTH_MODIFIER_DEC "DEC"
IDS_DAY_MODIFIER_SUN "SUN"
IDS_DAY_MODIFIER_MON "MON"
IDS_DAY_MODIFIER_TUE "TUE"
IDS_DAY_MODIFIER_WED "WED"
IDS_DAY_MODIFIER_THU "THU"
IDS_DAY_MODIFIER_FRI "FRI"
IDS_DAY_MODIFIER_SAT "SAT"
IDS_DAY_MODIFIER_LASTDAY "LASTDAY"
IDS_RPTTIME_PROPERTY_MINUTES "%1 Minute(s)"
IDS_RPTTIME_PROPERTY_HOURS "%1 Hour(s)"
IDS_RPTDURATION_PROPERTY "%1 Hour(s): %2 Minute(s)"
IDS_DAILY_TYPE "Everyday"
IDS_EVERYDAY "Every %1 Day(s)"
IDS_WEEK_DISPLAY_STRING "Every %1 Week(s) on %2"
IDS_MONTHLY_DISPLAY_STRING "On day %1 of month(s) %2"
IDS_QUERY_NA "N/A"
IDS_ERROR_STRING "ERROR: "
IDS_WARNING_STRING "WARNING: "
IDS_NOTSCHEDULED_TASK "Task not scheduled"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_COL_HOSTNAME "HostName"
IDS_COL_TASKNAME "TaskName"
IDS_COL_NEXTRUNTIME "Next Run Time"
IDS_COL_LASTRUNTIME "Status"
IDS_COL_STATUS "Last Run Time"
IDS_COL_LASTRESULT "Last Result"
IDS_COL_CREATOR "Creator"
IDS_COL_SCHEDULE "Schedule"
IDS_COL_APPNAME "Task To Run"
IDS_COL_WORKDIRECTORY "Start In"
IDS_COL_COMMENT "Comment"
IDS_COL_TASKSTATE "Scheduled Task State"
IDS_COL_TASKTYPE "Scheduled Type"
IDS_COL_STARTTIME "Start Time"
IDS_COL_STARTDATE "Start Date"
IDS_COL_ENDDATE "End Date"
IDS_COL_DAYS "Days"
IDS_COL_MONTHS "Months"
IDS_COL_RUNASUSER "Run As User"
IDS_COL_DELTASK "Delete Task If Not Rescheduled"
IDS_COL_STOPTASK "Stop Task If Runs X Hours and X Mins"
IDS_COL_REPEAT_EVERY "Repeat: Every"
IDS_COL_REPEAT_UNTILTIME "Repeat: Until: Time"
IDS_COL_REPEAT_DURATION "Repeat: Until: Duration"
IDS_COL_REPEAT_RUNNING "Repeat: Stop If Still Running"
IDS_COL_IDLE "Idle Time"
IDS_COL_POWER "Power Management"
IDS_COL_IDLE_ONLYSTART "Only Start If Idle for %1 minutes"
IDS_COL_IDLE_NOTIDLE "If Not Idle Retry For %1 minutes"
IDS_COL_IDLE_STOPTASK "Stop the task if Idle State end"
IDS_COL_POWER_NOSTART "No Start On Batteries"
IDS_COL_POWER_STOP "Stop On Battery Mode"
IDS_WIDTH_HOSTNAME "15"
IDS_WIDTH_TASKNAME "36"
IDS_WIDTH_NEXTRUNTIME "24"
IDS_WIDTH_LASTRUNTIME "24"
IDS_WIDTH_STATUS "15"
IDS_WIDTH_LASTRESULT "14"
IDS_WIDTH_CREATOR "16"
IDS_WIDTH_SCHEDULE "80"
IDS_WIDTH_APPNAME "48"
IDS_WIDTH_WORKDIRECTORY "38"
IDS_WIDTH_COMMENT "48"
IDS_WIDTH_TASKSTATE "28"
IDS_WIDTH_TASKTYPE "38"
IDS_WIDTH_TASKMODIFIER "48"
IDS_WIDTH_TASKSTIME "18"
IDS_WIDTH_TASKSDATE "18"
IDS_WIDTH_TASKEDATE "18"
IDS_WIDTH_TASKDAYS "43"
IDS_WIDTH_TASKMONTHS "43"
IDS_WIDTH_TASKRUNASUSER "40"
IDS_WIDTH_TASKDELETE "35"
IDS_WIDTH_TASK_RPTEVERY "17"
IDS_WIDTH_TASK_UNTILRPTTIME "20"
IDS_WIDTH_TASK_RPTDURATION "30"
IDS_WIDTH_TASK_RPTRUNNING "35"
IDS_WIDTH_TASKIDLESTART "45"
IDS_WIDTH_TASKIDLEONLYSTART "42"
IDS_WIDTH_TASKNOTIDLE "40"
IDS_WIDTH_TASKIDLESTOP "40"
IDS_WIDTH_TASKPOWERNOSTART "33"
IDS_WIDTH_TASKPOWERSTOP "36"
IDS_WIDTH_TASKSTOP "40"
IDS_WIDTH_TASKIDLE "40"
IDS_WIDTH_TASKPOWERMGMT "45"
IDS_HOSTNAME_COL_NUMBER "0"
IDS_TASKNAME_COL_NUMBER "1"
IDS_NEXTRUNTIME_COL_NUMBER "2"
IDS_LASTRUNTIME_COL_NUMBER "4"
IDS_STATUS_COL_NUMBER "3"
IDS_LASTRESULT_COL_NUMBER "5"
IDS_CREATOR_COL_NUMBER "6"
IDS_SCHEDULE_COL_NUMBER "7"
IDS_TASKTORUN_COL_NUMBER "8"
IDS_STARTIN_COL_NUMBER "9"
IDS_COMMENT_COL_NUMBER "10"
IDS_TASKSTATE_COL_NUMBER "11"
IDS_TASKTYPE_COL_NUMBER "12"
IDS_STARTTIME_COL_NUMBER "13"
IDS_STARTDATE_COL_NUMBER "14"
IDS_ENDDATE_COL_NUMBER "15"
IDS_DAYS_COL_NUMBER "16"
IDS_MONTHS_COL_NUMBER "17"
IDS_RUNASUSER_COL_NUMBER "18"
IDS_DELETE_IFNOTRESCHEDULED_COL_NUMBER "19"
IDS_STOPTASK_COL_NUMBER "20"
IDS_REPEAT_EVERY_COL_NUMBER "21"
IDS_REPEAT_UNTILTIME_COL_NUMBER "22"
IDS_REPEAT_DURATION_COL_NUMBER "23"
IDS_REPEAT_STOP_COL_NUMBER "24"
IDS_IDLE_COL_NUMBER "25"
IDS_POWER_MGMT_COL_NUMBER "26"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_CREATE_HLP1 "\nSCHTASKS /Create [/S system [/U username [/P password]]]\n"
IDS_CREATE_HLP2 " [/RU username [/RP password]] /SC schedule [/MO modifier] [/D day]\n"
IDS_CREATE_HLP3 " [/I idletime] /TN taskname /TR taskrun [/ST starttime] [/M months]\n"
IDS_CREATE_HLP4 " [/SD startdate] [/ED enddate]\n\n"
IDS_CREATE_HLP5 "Description:\n "
IDS_CREATE_HLP6 " Enables an administrator to create scheduled tasks on a local or\n "
IDS_CREATE_HLP7 " remote systems. \n\n"
IDS_CREATE_HLP8 "Parameter List:\n"
IDS_CREATE_HLP9 " /S system Specifies the remote system to\n"
IDS_CREATE_HLP10 " connect to. If omitted the system\n"
IDS_CREATE_HLP11 " parameter defaults to the local\n"
IDS_CREATE_HLP12 " system.\n\n"
IDS_CREATE_HLP13 " /U username Specifies the user context under\n"
IDS_CREATE_HLP14 " which the command should execute.\n\n"
IDS_CREATE_HLP15 " /P password Specifies the password for the given\n"
IDS_CREATE_HLP16 " user context.\n\n"
IDS_CREATE_HLP17 " /RU username Specifies the user account (user \n"
IDS_CREATE_HLP18 " context) under which the task runs.\n"
IDS_CREATE_HLP19 " For the system account, valid values \n"
IDS_CREATE_HLP20 " are """", ""NT AUTHORITY\SYSTEM"" or\n"
IDS_CREATE_HLP21 " ""SYSTEM"".\n\n"
IDS_CREATE_HLP22 " /RP password Specifies the password for the user.\n"
IDS_CREATE_HLP23 " To prompt for the password, the value\n"
IDS_CREATE_HLP24 " must be either ""*"" or none.\n"
IDS_CREATE_HLP25 " Password will not effect for the\n"
IDS_CREATE_HLP26 " system account.\n\n"
IDS_CREATE_HLP27 " /SC schedule Specifies the schedule frequency.\n"
IDS_CREATE_HLP28 ""
IDS_CREATE_HLP29 " Valid schedule types: MINUTE, HOURLY,\n"
IDS_CREATE_HLP30 " DAILY, WEEKLY, MONTHLY, ONCE,\n"
IDS_CREATE_HLP31 " ONSTART, ONLOGON, ONIDLE.\n\n"
IDS_CREATE_HLP32 ""
IDS_CREATE_HLP33 " /MO modifier Refines the schedule type to allow \n"
IDS_CREATE_HLP34 " finer control over schedule\n"
IDS_CREATE_HLP35 " recurrence. Valid values are listed \n"
IDS_CREATE_HLP36 " in the ""Modifiers"" section below.\n\n"
IDS_CREATE_HLP37 " /D days Specifies the day of the week to run\n"
IDS_CREATE_HLP38 " the task. Valid values: MON, TUE,\n"
IDS_CREATE_HLP39 " WED, THU, FRI, SAT, SUN and for\n"
IDS_CREATE_HLP40 " MONTHLY schedules 1 - 31 (days of the\n"
IDS_CREATE_HLP41 " month).\n\n"
IDS_CREATE_HLP42 " /M months Specifies month(s) of the year.\n"
IDS_CREATE_HLP43 " Defaults to the first day of the\n"
IDS_CREATE_HLP44 " month. Valid values: JAN, FEB, MAR,\n"
IDS_CREATE_HLP45 " APR, MAY, JUN, JUL, AUG, SEP, OCT,\n"
IDS_CREATE_HLP46 " NOV, DEC.\n\n"
IDS_CREATE_HLP47 " /I idletime Specifies the amount of idle time to \n"
IDS_CREATE_HLP48 " wait before running a scheduled \n"
IDS_CREATE_HLP49 " ONIDLE task.\n"
IDS_CREATE_HLP50 " Valid range: 1 - 999 minutes.\n\n"
IDS_CREATE_HLP51 " /TN taskname Specifies a name which uniquely\n"
IDS_CREATE_HLP52 " identifies this scheduled task.\n\n"
IDS_CREATE_HLP53 " /TR taskrun Specifies the path and file name of\n"
IDS_CREATE_HLP54 " the program to be run by this\n"
IDS_CREATE_HLP55 " scheduled task.\n"
IDS_CREATE_HLP56 " Example: C:\\windows\\system32\\calc.exe\n\n"
IDS_CREATE_HLP57 " /ST starttime Specifies the time to run the task.\n"
IDS_CREATE_HLP58 " The time format is HH:MM:SS (24 hour\n"
IDS_CREATE_HLP59 " time) for example, 14:30:00 for \n"
IDS_CREATE_HLP60 " 2:30 PM.\n\n"
IDS_CREATE_HLP61 " /SD startdate Specifies the first date on which the\n"
IDS_CREATE_HLP62 " task runs. The format is \n"
IDS_CREATE_HLP63 " ""%1"".\n\n"
IDS_CREATE_HLP64 " /ED enddate Specifies the last date when the task\n"
IDS_CREATE_HLP65 " should run. The format is\n"
IDS_CREATE_HLP66 " ""%1"".\n\n"
IDS_CREATE_HLP67 " /? Displays this help/usage.\n\n"
IDS_CREATE_HLP68 ""
IDS_CREATE_HLP69 "Modifiers: Valid values for the /MO switch per schedule type:\n"
IDS_CREATE_HLP70 ""
IDS_CREATE_HLP71 " MINUTE: 1 - 1439 minutes.\n"
IDS_CREATE_HLP72 " HOURLY: 1 - 23 hours.\n"
IDS_CREATE_HLP73 " DAILY: 1 - 365 days.\n"
IDS_CREATE_HLP74 " WEEKLY: weeks 1 - 52.\n"
IDS_CREATE_HLP75 " ONCE: No modifiers.\n"
IDS_CREATE_HLP76 " ONSTART: No modifiers.\n"
IDS_CREATE_HLP77 " ONLOGON: No modifiers.\n"
IDS_CREATE_HLP78 " ONIDLE: No modifiers.\n"
IDS_CREATE_HLP79 " MONTHLY: 1 - 12, or \n"
IDS_CREATE_HLP80 " FIRST, SECOND, THIRD, FOURTH, LAST, LASTDAY.\n\n"
IDS_CREATE_HLP81 "Examples:\n"
IDS_CREATE_HLP82 ""
IDS_CREATE_HLP83 " SCHTASKS /Create /S system /U user /P password /RU runasuser \n"
IDS_CREATE_HLP84 " /RP runaspassword /SC HOURLY /TN rtest1 /TR notepad \n"
IDS_CREATE_HLP85 " SCHTASKS /Create /S system /U domain\user /P password /SC MINUTE\n"
IDS_CREATE_HLP86 " /MO 5 /TN rtest2 /TR calc.exe /ST 12:00:00 \n"
IDS_CREATE_HLP87 " /SD %1 /ED %1 /RU runasuser /RP \n"
IDS_CREATE_HLP88 " SCHTASKS /Create /SC MONTHLY /MO first /D SUN /TN game \n"
IDS_CREATE_HLP89 " /TR c:\\windows\\system32\\freecell\n"
IDS_CREATE_HLP90 " SCHTASKS /Create /S system /U user /P password /RU runasuser\n"
IDS_CREATE_HLP91 " /RP runaspassword /SC WEEKLY /TN test1 /TR notepad.exe\n"
IDS_CREATE_HLP92 " SCHTASKS /Create /S system /U domain\user /P password /SC MINUTE\n"
IDS_CREATE_HLP93 " /MO 5 /TN test2 /TR c:\\windows\\system32\\notepad.exe \n"
IDS_CREATE_HLP94 " /ST 18:30:00 /RU runasuser /RP *\n"
IDS_CREATE_HLP95 " SCHTASKS /Create /SC MONTHLY /MO first /D SUN /TN cell \n"
IDS_CREATE_HLP96 " /TR c:\\windows\\system32\\freecell /RU runasuser\n"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_MAINHLP1 "\nSCHTASKS /parameter [arguments] \n\n"
IDS_MAINHLP2 "Description:\n"
IDS_MAINHLP3 " Enables an administrator to create, delete, query, change, run and\n"
IDS_MAINHLP4 " end scheduled tasks on a local or remote system. Replaces AT.exe.\n\n"
IDS_MAINHLP5 "Parameter List:\n"
IDS_MAINHLP6 " /Create Creates a new scheduled task.\n\n"
IDS_MAINHLP7 " /Delete Deletes the scheduled task(s).\n\n"
IDS_MAINHLP8 " /Query Displays all scheduled tasks.\n\n"
IDS_MAINHLP9 " /Change Changes the properties of scheduled task.\n\n"
IDS_MAINHLP10 " /Run Runs the scheduled task immediately.\n\n"
IDS_MAINHLP11 " /End Stops the currently running scheduled task.\n\n"
IDS_MAINHLP12 " /? Displays this help/usage.\n\n"
IDS_MAINHLP13 "Examples:\n"
IDS_MAINHLP14 " SCHTASKS \n"
IDS_MAINHLP15 " SCHTASKS /?\n"
IDS_MAINHLP16 " SCHTASKS /Run /?\n"
IDS_MAINHLP17 " SCHTASKS /End /?\n"
IDS_MAINHLP18 " SCHTASKS /Create /?\n"
IDS_MAINHLP19 " SCHTASKS /Delete /?\n"
IDS_MAINHLP20 " SCHTASKS /Query /?\n"
IDS_MAINHLP21 " SCHTASKS /Change /?\n"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_QUERY_HLP1 "\nSCHTASKS /Query [/S system [/U username [/P password]]] [/FO format]\n"
IDS_QUERY_HLP2 " [/NH] [/V] [/?]\n\n"
IDS_QUERY_HLP3 "Description: \n"
IDS_QUERY_HLP4 " Enables an administrator to display the scheduled tasks on the\n"
IDS_QUERY_HLP5 " local or remote system.\n\n"
IDS_QUERY_HLP6 "Parameter List:\n"
IDS_QUERY_HLP7 " /S system Specifies the remote system to connect to.\n\n"
IDS_QUERY_HLP8 " /U username Specifies the user context under\n"
IDS_QUERY_HLP9 " which the command should execute.\n\n"
IDS_QUERY_HLP10 " /P password Specifies the password for the given\n"
IDS_QUERY_HLP11 " user context.\n\n"
IDS_QUERY_HLP12 " /FO format Specifies the output format to be \n"
IDS_QUERY_HLP13 " displayed. Valid values: TABLE, LIST, CSV.\n\n"
IDS_QUERY_HLP14 " /NH Specifies that the column header should not\n"
IDS_QUERY_HLP15 " be displayed in the output.\n"
IDS_QUERY_HLP16 " Valid only for TABLE and CSV formats.\n\n"
IDS_QUERY_HLP17 " /V Specifies additional output to be \n"
IDS_QUERY_HLP18 " displayed.\n\n"
IDS_QUERY_HLP19 " /? Displays this help/usage.\n\n"
IDS_QUERY_HLP20 "Examples:\n"
IDS_QUERY_HLP21 " SCHTASKS /Query \n"
IDS_QUERY_HLP22 " SCHTASKS /Query /? \n"
IDS_QUERY_HLP23 " SCHTASKS /Query /S system /U user /P password\n"
IDS_QUERY_HLP24 " SCHTASKS /Query /FO LIST /V /S system /U user /P password\n"
IDS_QUERY_HLP25 " SCHTASKS /Query /FO TABLE /NH /V\n"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_DEL_HLP1 "\nSCHTASKS /Delete [/S system [/U username [/P password]]] /TN taskname\n"
IDS_DEL_HLP2 " [/F]\n\n"
IDS_DEL_HLP3 "Description:\n"
IDS_DEL_HLP4 " Deletes one or more scheduled tasks.\n\n"
IDS_DEL_HLP5 "Parameter List:\n"
IDS_DEL_HLP6 " /S system Specifies the remote system to connect to.\n\n"
IDS_DEL_HLP7 " /U username Specifies the user context under\n"
IDS_DEL_HLP8 " which the command should execute.\n\n"
IDS_DEL_HLP9 " /P password Specifies the password for the given\n"
IDS_DEL_HLP10 " user context.\n\n"
IDS_DEL_HLP11 " /TN taskname Specifies the name of the scheduled task to\n"
IDS_DEL_HLP12 " delete. Wildcard ""*"" may be used to delete\n"
IDS_DEL_HLP13 " all tasks.\n\n"
IDS_DEL_HLP14 ""
IDS_DEL_HLP15 " /F (Force) Deletes the task and suppresses\n"
IDS_DEL_HLP16 " warnings if the specified task is currently\n"
IDS_DEL_HLP17 " running.\n\n"
IDS_DEL_HLP18 " /? Displays this help/usage.\n\n"
IDS_DEL_HLP19 "Examples:\n"
IDS_DEL_HLP20 " SCHTASKS /Delete /TN * /F\n"
IDS_DEL_HLP21 " SCHTASKS /Delete /TN ""Backup and Restore""\n"
IDS_DEL_HLP22 " SCHTASKS /Delete /S system /U user /P password /TN ""Start Restore""\n"
IDS_DEL_HLP23 " SCHTASKS /Delete /S system /U user /P password /TN ""Start Backup"" /F\n"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_CHANGE_HLP1 "\nSCHTASKS /Change [/S system [/U username [/P password]]] {[/RU runasuser]\n"
IDS_CHANGE_HLP2 " [/RP runaspassword] [/TR taskrun]} /TN taskname\n\n"
IDS_CHANGE_HLP3 "Description:\n"
IDS_CHANGE_HLP4 " Changes the program to run, or user account and password used\n"
IDS_CHANGE_HLP5 " by a scheduled task.\n\n"
IDS_CHANGE_HLP6 "Parameter List:\n"
IDS_CHANGE_HLP7 " /S system Specifies the remote system to connect to.\n\n"
IDS_CHANGE_HLP8 " /U username Specifies the user context under\n"
IDS_CHANGE_HLP9 " which the command should execute.\n\n"
IDS_CHANGE_HLP12 " /P password Specifies the password for the given\n"
IDS_CHANGE_HLP13 " user context.\n\n"
IDS_CHANGE_HLP14 ""
IDS_CHANGE_HLP15 " /RU username Changes the user name (user context) under\n"
IDS_CHANGE_HLP16 " which the scheduled task has to run.\n"
IDS_CHANGE_HLP17 " For the system account, valid values are \n"
IDS_CHANGE_HLP18 " """", ""NT AUTHORITY\SYSTEM"" or ""SYSTEM"".\n\n"
IDS_CHANGE_HLP19 " /RP password Specifies a new password for the existing\n"
IDS_CHANGE_HLP20 " user context or the password for a new\n"
IDS_CHANGE_HLP21 " user account. Password will not effect for\n"
IDS_CHANGE_HLP22 " the system account.\n\n"
IDS_CHANGE_HLP23 " /TR taskrun Specifies a new program that the scheduled\n"
IDS_CHANGE_HLP24 " task runs. Type the path and file name of \n"
IDS_CHANGE_HLP25 " the program.\n\n"
IDS_CHANGE_HLP26 " /TN taskname Specifies which scheduled task to change.\n\n"
IDS_CHANGE_HLP27 ""
IDS_CHANGE_HLP28 " /? Displays this help/usage.\n\n"
IDS_CHANGE_HLP29 "Examples:\n"
IDS_CHANGE_HLP30 " SCHTASKS /Change /RP password /TN ""Backup and Restore""\n"
IDS_CHANGE_HLP31 " SCHTASKS /Change /TR restore.exe /TN ""Start Restore""\n"
IDS_CHANGE_HLP32 " SCHTASKS /Change /S system /U user /P password /RU newuser \n"
IDS_CHANGE_HLP33 " /TN ""Start Backup""\n"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_RUN_HLP1 "\nSCHTASKS /Run [/S system [/U username [/P password]]] /TN taskname\n\n"
IDS_RUN_HLP2 "Description:\n "
IDS_RUN_HLP3 " Runs a scheduled task immediately.\n\n"
IDS_RUN_HLP4 "Parameter List:\n"
IDS_RUN_HLP5 " /S system Specifies the remote system to connect\n"
IDS_RUN_HLP6 " to.\n\n"
IDS_RUN_HLP7 " /U username Specifies the user context under\n"
IDS_RUN_HLP8 " which the command should execute.\n\n"
IDS_RUN_HLP9 " /P password Specifies the password for the given\n"
IDS_RUN_HLP10 " user context.\n\n"
IDS_RUN_HLP11 " /TN taskname Identifies the scheduled task to run.\n\n"
IDS_RUN_HLP12 " /? Displays this help/usage.\n\n"
IDS_RUN_HLP13 "Examples:\n"
IDS_RUN_HLP14 " SCHTASKS /Run /? \n"
IDS_RUN_HLP15 " SCHTASKS /Run /TN ""Start Backup""\n"
IDS_RUN_HLP16 " SCHTASKS /Run /S system /U user /P password /TN ""Backup and Restore""\n"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_END_HLP1 "\nSCHTASKS /End [/S system [/U username [/P password]]] /TN taskname\n\n"
IDS_END_HLP2 "Description:\n"
IDS_END_HLP3 " Stops a running scheduled task.\n\n"
IDS_END_HLP4 "Parameter List:\n"
IDS_END_HLP5 " /S system Specifies the remote system to connect\n"
IDS_END_HLP6 " to.\n\n"
IDS_END_HLP7 " /U username Specifies the user context under\n"
IDS_END_HLP8 " which the command should execute.\n\n"
IDS_END_HLP9 " /P password Specifies the password for the given\n"
IDS_END_HLP10 " user context.\n\n"
IDS_END_HLP11 " /TN taskname Specifies the scheduled task to \n"
IDS_END_HLP12 " terminate.\n\n"
IDS_END_HLP13 " /? Displays this help/usage.\n\n"
IDS_END_HLP14 "Examples:\n"
IDS_END_HLP15 " SCHTASKS /End /? \n"
IDS_END_HLP16 " SCHTASKS /End /TN ""Start Backup""\n"
IDS_END_HLP17 " SCHTASKS /End /S system /U user /P password /TN ""Backup and Restore""\n"
END
//
// Version resources
//
#include <ntverp.h>
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "Schedule Tasks"
#define VER_INTERNALNAME_STR "SchTasks.exe"
#define VER_ORIGINALFILENAME_STR "ScTasks.exe"
#include <common.ver>