@echo off IF %1!==! ( echo. echo WinNTSetup ISO file support echo. echo this batch will be executed to mount an ISO file echo right-click on the "source button" and select an ISO file echo path of the ISO will be saved inside %1 echo. echo sample for "ImDisk Virtual Disk Driver" echo http://www.ltr-data.se/opencode.html/#ImDisk echo. echo silent install: echo. echo set IMDISK_SILENT_SETUP = 1 echo imdiskinst -y echo. echo mount command : imdisk -a -m #: -f %1 echo. pause goto :EOF ) If not exist %windir%\system32\drivers\imdisk.sys ( set IMDISK_SILENT_SETUP = 1 imdiskinst -y ) imdisk -a -m #: -f %1