C:\WINDOWS>SCHTASKS /QUERY /?
SCHTASKS /Query
[/S system
[/U username
[/P password
]]] [/FO format
] [/NH
] [/V
] [/?
]Description:
Enables an administrator to display the scheduled tasks on the
local or remote system.
Parameter List:
/S system Specifies the remote system to connect to.
/U username Specifies the user context under
which the command should execute.
/P password Specifies the password for the given
user context.
/FO format Specifies the output format to be
displayed. Valid values: TABLE, LIST, CSV.
/NH Specifies that the column header should not
be displayed in the output.
Valid only for TABLE and CSV formats.
/V Specifies additional output to be
displayed.
/? Displays this help/usage.
Examples:
SCHTASKS /Query
SCHTASKS /Query /?
SCHTASKS /Query /S system /U user /P password
SCHTASKS /Query /FO LIST /V /S system /U user /P password
SCHTASKS /Query /FO TABLE /NH /V
C:\WINDOWS>SCHTASKS /CHANGE /?
SCHTASKS /Change
[/S system
[/U username
[/P password
]]] /TN taskname
Description:
Changes the program to run, or user account and password used
by a scheduled task.
Parameter List:
/S system Specifies the remote system to connect to.
/U username Specifies the user context under
which the command should execute.
/P password Specifies the password for the given
user context.
/RU username Changes the user name (user context) under
which the scheduled task has to run.
For the system account, valid values are
"", "NT AUTHORITY\SYSTEM" or "SYSTEM".
/RP password Specifies a new password for the existing
user context or the password for a new
user account. Password will not effect for
the system account.
/TR taskrun Specifies a new program that the scheduled
task runs. Type the path and file name of
the program.
/TN taskname Specifies which scheduled task to change.
/? Displays this help/usage.
Examples:
SCHTASKS /Change /RP password /TN "Backup and Restore"
SCHTASKS /Change /TR restore.exe /TN "Start Restore"
SCHTASKS /Change /S system /U user /P password /RU newuser
/TN "Start Backup"
C:\WINDOWS>SETVER /?
Sets the version number that MS-DOS reports to a program.
Display current version table: SETVER
[drive:path
]Add entry: SETVER
[drive:path
] filename n.nn
Delete entry: SETVER
[drive:path
] filename /DELETE
[/QUIET
] [drive:path
] Specifies location of the SETVER.EXE file.
filename Specifies the filename of the program.
n.nn Specifies the MS-DOS version to be reported to the program.
/DELETE or /D Deletes the version-table entry for the specified program.
/QUIET Hides the message typically displayed during deletion of
version-table entry.