INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Debug mode for ISO mounting with Alcohol command line  (Read 5591 times)

moobox

  • Recent member
  • *
  • Posts: 43
Debug mode for ISO mounting with Alcohol command line
« on: May 31, 2012, 07:11:43 am »

Hello,

Yesterday, I installed JRiver 17. I would like to auto mount my DVD iso backup. I've Alcohol on my PC.
Ok I follow procedure of the wiki to be able to auto mount ISO.
Now it's time to give the parameter to AxCmd.exe :
" 1: /M:[Filename]"

Too bad it doeas work ! I did a test directly within cmd.exe and it works fine. EG : AxCmd.exe 1: /M:G:\Video\DVD\TOTORO.ISO

My question is : How to debug it ? To see what is wrong.

NB : I have a look on Log but it seems that nothing appear in it.
Logged

moobox

  • Recent member
  • *
  • Posts: 43
Re: Debug mode for ISO mounting with Alcohol command line
« Reply #1 on: May 31, 2012, 09:10:02 pm »

Help yourself  ;D
Solution :
You have to create in Alcohol directory a file call Mount.bat containing :
Quote
CD "C:\Program Files (x86)\Alcohol Soft\Alcohol 120\"
AxCmd.exe 1: /m:%1

In JRiver, in the file association for iso one, you choose External Program (custom)
Program : C:\Program Files (x86)\Alcohol Soft\Alcohol 120\Mount.bat
Arguments : "[Filename]"

That's all folk.
Now I can buy JRiver  8)

Important you must be administrator of your windows account if not, see the next post ;)

Tips : to debug I have done some tries with cmd.exe /k
Logged

moobox

  • Recent member
  • *
  • Posts: 43
Re: Debug mode for ISO mounting with Alcohol command line
« Reply #2 on: June 05, 2012, 01:53:11 pm »

This post will help you if you are not Administrator or Seven failed to grant you (it's happen sometimes). So on this solution is the best one :

1. Copy AxCmd.exe from C:\Program Files (x86)\Alcohol Soft\Alcohol 120 to root of your DVD iso directory, for example : G:\Video\DVD. It must be a public directory.
2. Create a new file called Mount.bat with :
Quote
call G:\VIdeo\DVD\AxCmd.exe 1: /m:%1
3. In JRiver / Tools / Options / File Types / Disk Images Files (iso,..) choose
Playback method => External Program (custom)
Program => where you create the Mount.bat file and copy the AxCmd.exe (eg : G:\Video\DVD\Mount.bat)
Arguments => "[Filename]"

That's all folks

PS : to debug if something is going wrong use this, in Mount.bat :
Quote
call G:\VIdeo\DVD\AxCmd.exe 1: /m:%1
cmd.exe /k
The command box will remain with the error message. It's a bastard way to debug, but it works  :-X
Logged

moobox

  • Recent member
  • *
  • Posts: 43
Re: Debug mode for ISO mounting with Alcohol command line
« Reply #3 on: September 29, 2013, 07:35:35 am »

I've changed for Daemon tools lite. Mount.bat became yesterday :
Code: [Select]
call "C:\Program Files (x86)\DAEMON Tools Lite\DTLite.exe" -mount dt, 0, %1
By the way, copy DTLite.exe is not necessary. Just put the Mount.bat on the D: drive for example. It's more flexible.
Notice if you have create an scsi virtual drive use :
Code: [Select]
call "C:\Program Files (x86)\DAEMON Tools Lite\DTLite.exe" -mount scsi, 0, %1
Logged

moobox

  • Recent member
  • *
  • Posts: 43
Re: Debug mode for ISO mounting with Alcohol command line
« Reply #4 on: September 06, 2015, 01:53:35 pm »

A new version of daemon tool lite(v 10.1) with windows 10 has changed my command line to mount iso on drive G:

Code: [Select]
call "C:\Program Files (x86)\DAEMON Tools Lite\DTAgent.exe" -unmount G
call "C:\Program Files (x86)\DAEMON Tools Lite\DTAgent.exe" -mount dt, G, %1
Logged
Pages: [1]   Go Up