From fb84659285880fd2dd1e66f9c93c12865036dc34 Mon Sep 17 00:00:00 2001 From: white-gthb <101835449+white-gthb@users.noreply.github.com> Date: Fri, 29 May 2026 14:58:02 +0200 Subject: [PATCH] Update cmd.md - Improve /s description Current description is vague and false. --- WindowsServerDocs/administration/windows-commands/cmd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WindowsServerDocs/administration/windows-commands/cmd.md b/WindowsServerDocs/administration/windows-commands/cmd.md index b9cada4217..9358859d13 100644 --- a/WindowsServerDocs/administration/windows-commands/cmd.md +++ b/WindowsServerDocs/administration/windows-commands/cmd.md @@ -26,7 +26,7 @@ cmd [/c|/k] [/s] [/q] [/d] [/a|/u] [/t:{ | }] [/e:{on | off}] [/f:{on | | --------- | ----------- | | /c | Carries out the command specified by `` and then exits the command processor. | | /k | Carries out the command specified by `` and keeps the command processor running. | -| /s | When used with `/c` or `/k`, triggers special non-parsing rules that strip the first and last quotes (`"`) around the `` but leaves the rest of the command unchanged. | +| /s | Used with `/c` or `/k`, forces old behavior: if `` begins with a quote (`"`), remove the first and last quote in `` (the last quote is not necessarily at the end). | | /q | Turns echo off. | | /d | Disables execution of AutoRun commands. | | /a | Formats command output as American National Standards Institute (ANSI). |