I'm writing a tool that sets up a WinPE Drive for you, and I have been calling DISM commands from an admin batch file. However, I cannot figure out how to run the copype command to set up the drive initially.  

 `"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\copype.cmd"` is where the copype tool is located but when calling it with dism with this command: `Dism "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\copype.cmd" amd64 C:\WinPE_amd64` it responds that `Dism doesn't recognise the command-line option "copype.cmd"` If I try running the file directly from a command prompt, it says it cannot find the amd64 infrastructure. The only way I can get it to start is if I run an administrator Deployment and Imaging Tools Environment and run the copype command. There must be a way to do this, but I cant figure out how.