Injecting drivers

dism /mount-wim /wimfile:boot.wim /index:2 /mountdir:mount dism /image:mount /add-driver:”drivers” /recurse dism /unmount-wim /mountdir:mount /commit

Variables for scripts

%~I – expands %I removing any surrounding quotes (“) %~fI – expands %I to a fully qualified path name %~dI – expands %I to a drive letter only %~pI – expands %I to a path only %~nI – expands %I to a file name only %~xI –...

Create a bootable installer for macOS

macOS installer Source: Create a bootable installer for macOS – Apple Support Create a bootable installer for macOS With macOS Sierra, El Capitan, Yosemite, or Mavericks, you can use a USB flash drive or other removable media as a startup disk from which to...