Register
FAQ
Today's Posts
THE DAEMON TOOLS FORUM
Quick Links
  #1
Old 22.06.2007, 16:40
M4M
New User
 
Join Date: 22.10.2006
Posts: 21
Default unable to mount from command line

I have the latest version of DT and SPTD installed and running. Everything works fine except for mounting an image from the command line. From the help file it shows it should be something like this...

daemon.exe -mount0."C:\imagename.iso"

But it keeps on giving me an "unknown switch in command line" error. What am I doing wrong?
M4M is offline   Reply With Quote
  #2
Old 22.06.2007, 19:12
Administrator


 
Copytrooper's Avatar
 
Join Date: 07.11.2002
Posts: 5,744
Default Re: unable to mount from command line

Try to replace the dot (".") with a comma (","). And ensure there is a space after mount and the device number.
daemon.exe -mount 0,"C:\imagename.iso"
__________________
Everybody be cool! You, be cool!
They'll keep fighting! And they'll win!
Copytrooper is offline   Reply With Quote
  #3
Old 22.06.2007, 21:27
M4M
New User
 
Join Date: 22.10.2006
Posts: 21
Default Re: unable to mount from command line

Ah, thank you very much! The online help files should be updated to reflect this.
M4M is offline   Reply With Quote
  #4
Old 23.06.2007, 09:57
Administrator


 
Copytrooper's Avatar
 
Join Date: 07.11.2002
Posts: 5,744
Default Re: unable to mount from command line

The online help is perfect regarding this:
Example: daemon.exe -mount 0,"c:\My Images\nameofimage.cue".
__________________
Everybody be cool! You, be cool!
They'll keep fighting! And they'll win!
Copytrooper is offline   Reply With Quote
  #5
Old 15.01.2008, 22:05
New User
 
Join Date: 15.01.2008
Posts: 2
Default Re: unable to mount from command line

Quick question which is sort of related so I thought I'd reply here instead of creating a new thread...

I've successfully mounted an image from a command line but I get a dialogue box saying "Secure mode confirmation for command line: -mount 0, C:\Test\Test.cue"; Yes or No...

Is there a way to turn this off? I would really like no user interaction if possible when mounting an image.

I tried adding -securom on before or after the -mount but that just gives another dialogue box; Yes or No.

Your help is much appreciated
DamienD is offline   Reply With Quote
  #6
Old 16.01.2008, 09:30
GERMAN TRANSLATOR

 
Blazkowicz's Avatar
 
Join Date: 09.11.2005
Posts: 5,206
Default Re: unable to mount from command line

If you are using DT Lite you can disable secure mode through the options.
__________________
Make something idiot proof, but then they just make a better idiot
Peace Through Power
Blazkowicz is offline   Reply With Quote
  #7
Old 17.01.2008, 01:19
New User
 
Join Date: 14.01.2008
Posts: 5
Default Re: unable to mount from command line

SecuRom is NOT what you are looking for to acomplish this. What you need to do is right click on the DT sys tray icon, go to Options, and turn off the "Secure mode" option, This will stop the nagging command line mount popups.

Brasco
Brasco85 is offline   Reply With Quote
  #8
Old 29.07.2008, 18:35
uNk
New User
 
Join Date: 29.07.2008
Posts: 4
Default daemon command line in network fail

Hi,

I developed a script that mount a image file *.iso in remote computer with help of psexec of pstools.

Simple run a script with the next command:

psexec \\computer -c -d -s -i daemon.bat

daemon.bat containts next line:

CD "D:\Archivos de Programa\DAEMON Tools\"
daemon.exe -mount 0, M:\ILEX\disco-azul.iso

The M: is a network mapped folder from another computer (server).

If i mount to hand in the icon try and use M:\ILEX\disco-azul.iso work fine, but from command line dont work, display next error:

Unable to mount image. Invalid image file

S.O of server: Windows XP SP2 Professional
S.O. of client: Windows XP SP2 Professional

I hope to can help me with this problem
uNk is offline   Reply With Quote
Sponsored Links
Sponsored Links
  #9
Old 29.07.2008, 19:02
experienced user

 
Underheaven's Avatar
 
Join Date: 11.11.2002
Posts: 2,773
Default Re: unable to mount from command line

@uNk : Remove the space after the comma
__________________
the modern world:
net helpmsg 4006
Underheaven is offline   Reply With Quote
  #10
Old 30.07.2008, 10:59
uNk
New User
 
Join Date: 29.07.2008
Posts: 4
Default Re: unable to mount from command line

I check to remove the (",") comma from line, but dont work either.

I put an image of error and you can see the line command send.



Details of daemon version:

- Daemon version: 4.09E
- SPTD version: 1.50
- Secure mode: OFF
- Automount: ON
- InUsecheck: OFF
- AutoStart: ON
- Tray icon: ON
- Check for updates: ON




Thanks and best Regards
uNk is offline   Reply With Quote
Reply

Bookmarks

Tags
automating, bat, batch, cmd, comma, command line, drive letter, mount, net use, network drive, persistent, script


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 23:01.
Powered by vBulletin Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2   Forum Copyright © 2000-2010 THE DAEMON TOOLS FORUM
Contact Us DAEMON-Search.com Web Store: Disc-Soft.com