Two Buttons mount/unmount image using PowerIso

I am trying to make 2 buttons to mount and unmount an image with PowerIso.

I found these command parameters :

mount : Mount image file to virtual drive.
unmount <drive|all>: Unmount image file.

I could not find how to set this up. Any help would be appreciated.

Right click on a toolbar, go to customize, then to go Commands tab and go down to User. Click the new button and make a couple new buttons and set them to MS-DOS batch buttons. Then put this for the command:

runmode hide %ProgramFiles%\PowerIso\Poweriso.exe mount "{filepath$}" V:

(obviously replace Poweriso.exe with the correct path to the Poweriso exe, and change the drive letter.)

That should mount an image to V: when you have an image selected and click the button. Unmount would be done similarly.

Actually you can probably drop those quotes off the {filepath$}
You could also add @filesonly to the beginning on it's own line to prevent this command from running on folders.

[quote="bayes"]Actually you can probably drop those quotes off the {filepath$}
You could also add @filesonly to the beginning on it's own line to prevent this command from running on folders.[/quote]

This works indeed.
But instead of Poweriso.exe you have to use Piso.exe

Thanks :slight_smile:

Or use in filetypes to have it only shown in contextmenu!