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

CommandLine 指定要运行的 AsynchronousCommand 的路径。

Path_to_command_line

指定该命令的路径。 是一个字符串,最大长度为 1024 个字符。

有效配置阶段

oobeSystem

父层次结构

Microsoft-Windows-Shell-Setup | LogonCommands | AsynchronousCommand | 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