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

CommandLine specifies the path to the AsynchronousCommand to be run.

Values

Path_to_command_line

Specifies the path to the command. Path_to_command_line is a string with a maximum length of 1024 characters.

Valid Configuration Passes

oobeSystem

Parent Hierarchy

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

Applies To

For a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML Example

The following XML output shows how to set logon commands.

<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