CommandLine (microsoft-windows-shell-setup-logoncommands-asynchronouscommand-commandline)

CommandLine 指定要執行 之 AsynchronousCommand 的路徑。

Path_to_command_line

指定命令的路徑。 Path_to_command_line 是長度上限為 1024 個字元的字串。

有效的組態傳遞

oobeSystem

父階層

Microsoft-Windows-Shell-Setup | LogonCommands | SyncCommand | CommandLine

套用至

如需此元件支援的 Windows 版本和架構清單,請參閱 Microsoft-Windows-Shell-Setup

XML 範例

下列 XML 輸出示範如何設定登入命令。

<LogonCommands>
   <AsynchronousCommand wcm:action="add">
      <CommandLine>c:\asynccommands\command1.exe</CommandLine>
      <Description>Description_of_command1</Description>
      <Order>1</Order>
   </AsynchronousCommand>
   <AsynchronousCommand wcm:action="add">
      <CommandLine>c:\asynccommands\command2.exe</CommandLine>
      <Description>Description_of_command2</Description>
      <Order>2</Order>
   </AsynchronousCommand>
</LogonCommands>

AsynchronousCommand