Jump to content

Rbcc56

Member
  • Posts

    4
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About Rbcc56

Profile Information

  • OS
    Windows 11

Rbcc56's Achievements

0

Reputation

  1. Here's what I have so far... in AutoUnattend.xml : <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Order>1</Order> <Description>Search for the unique folder name, and set the drive letter as a variable</Description> <Path>cmd /c for %i in (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\Batches setx /m USBDRIVE=%i:</Path> </RunSynchronousCommand> <Description>Dirs</Description> <Order>2</Order> <Path>%USBDRIVE%\batches\Directories.cmd</Path> </RunSynchronousCommand> </RunSynchronous> Should This Boot the VM over and over again? How do I stop the Reboots? How do I visually see what this is doing? Can this be done in the <RunSyncronous> or do I have to use <RunAsyncronous>? Should the line with setx be set? is the if exist line correct? Where do I add the line %USBDrive%\Batches is on %USBDirve? this should cycle through the Hard Drive and use the drive letter where the directory "batches" and put it into a variable %i . Then it should use whatever is in %USBrive to run Directories in the directory batches. Where is the error!? TIA JTM
  2. I would a piece of to put into my autunattend.xml and unattend.xml to search through all drives except a,b and c. This code will set a variable to %Drive and then run a batch file called apps,utils and batches then run z.cmd inside a folder on app,utils and batches. how is done? Show in code!
  3. Can you show the code to solve this problem beside drive and USBDrive variable mixup?
  4. AutoUnattend.xml Directories.cmd I'm Using VMware Workstation 17.6.2, to Create a virtual machine. That I use to install Windows 11 Pro N 26100.4351 [UUPDump] Insider Edition. I then received the screen below. I'm not sure where the error is but I think that it is in the autounattend.xml file. can someone tell me to correct it ? John J
×
×
  • Create New...