A WIM file is a sort of zip file but is a bit complex in nature. This type of files is being used by imaging solutions and Microsoft. They have fundamental file structure that can also be mounted from command prompt using dism.exe. This guide features a batch file for mounting and unmounting the .WIM