I want to run a batchfile located on the same memory key where I am installing windows from.
I see this:
<Path>cmd /q /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\FIRADISK\LOADISO.CMD cmd /k %i:\FIRADISK\LOADISO.cmd"</Path>
So can I just add this:
<FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>%i:\copy.bat</CommandLine> <Description>Key</Description> <Order>1</Order> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> </FirstLogonCommands>
under this section:
<settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="AMD64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Using the %i as the drive letter for the key?
Thanks,
Scott