Table of contents
TOC
Collapse the table of content
Expand the table of content

Path

Last Updated: 12/12/2016

Path specifies the path and the name of the command to run.

All RunSynchronous commands run in the system context.

Values

Path_to_command

Specifies the path and the file name of the command to run synchronously. The path can be a local path or a Universal Naming Convention (UNC) path. If the path is a UNC path, Credentials must be specified.

Path_to_command is a string.

This string type does not support empty elements. Do not create an empty value for this setting.

Valid Passes

windowsPE

Parent Hierarchy

microsoft-windows-setup- | RunSynchronous | RunSynchronousCommand | Path

Applies To

For the list of the supported Windows editions and architectures that this component supports, see microsoft-windows-setup-.

XML Example

The following XML output shows how to set synchronous commands.

<RunSynchronous>
   <!-- First synchronous command to run -->
   <RunSynchronousCommand>
      <Order>1</Order>
      <Path>\\MyNetworkShare\MyApplication.exe</Path>
      <Description>DescriptionOfMyApplication</Description>
      <Credentials>
         <Domain>FabrikamDomain</Domain>
         <UserName>MyUserName</UserName>
         <Password>MyPassword</Password>
      </Credentials>
   </RunSynchronousCommand>
<!-- Second synchronous command to run -->
   <RunSynchronousCommand>
      <Order>2</Order>
      <Path>C:\AnotherApplication.exe</Path>
      <Description>DescriptionOfMyApplication</Description>
   </RunSynchronousCommand>
</RunSynchronous>

RunSynchronousCommand

Send comments about this topic to Microsoft

© 2017 Microsoft