Skip to content

Commit 2cdb9d4

Browse files
Merge pull request #7922 from MicrosoftDocs/copilot/fix-schtasks-delete-example
Fix schtasks delete example: quote task name with space
2 parents 5ca3857 + d99807e commit 2cdb9d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WindowsServerDocs/administration/windows-commands/schtasks-delete.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ schtasks /delete /tn {<taskname> | *} [/f] [/s <computer> [/u [<domain>\]<user>
3333
To delete the *Start Mail* task from the schedule of a remote computer.
3434

3535
```
36-
schtasks /delete /tn Start Mail /s Svr16
36+
schtasks /delete /tn "Start Mail" /s Svr16
3737
```
3838

3939
This command uses the **/s** parameter to identify the remote computer.

0 commit comments

Comments
 (0)