將 net user 與帶有反斜杠的系統帳戶一起使用

將 net user 與帶有反斜杠的系統帳戶一起使用

輸入:

net user "IIS APPPOOL\DefaultAppPool"

結果是:

The syntax of this command is:

NET USER
[username [password | *] [options]] [/DOMAIN]
         username {password | *} /ADD [options] [/DOMAIN]
         username [/DELETE] [/DOMAIN]
         username [/TIMES:{times | ALL}]

為什麼?我必須轉義反斜線字元嗎?如果是這樣,怎麼辦?

相關內容