(If you're on Windows 10 or later, you should be able to double-click .iso files to mount them, which is now built into the OS. This post was written for older versions of Windows. It may still be useful if you want to use alternative tools, and for playing DVD .iso files in a single-click.)
This simple example command automounts a DVD-Image and plays it automatically with VLC or WMC. Very comfortable when using DO on a HTPC!
I'm using PowerISO to mount images. You can also use e.g. DaemonTools (you can find an example code here: [url]Daemon Tools]).
Instead of a button you can also create a filetype in DO for image-files (iso, bin, etc.) and include the command as default "open"-action, which will execute it by doubleclicking an image-file.
Important: Please change paths to yours! Default virtual-drive is Y:, please change this also!
Mount and play with VLC:
@runmode hide
"%ProgramFiles(x86)%\PowerIso\PIso.exe" mount {filepath$} Y:
"%ProgramFiles(x86)%\VLC\VLC.exe" Y:\VIDEO_TS\VIDEO_TS.IFO
Mount and play with Windows Media Center (no Media Player, because under Win 8 DVD-playing is not supported anymore!):
@runmode hide
"%ProgramFiles(x86)%\PowerIso\PIso.exe" mount {filepath$} Y:
%windir%\ehome\ehshell.exe /directmedia:discplayback