Solved

How to create virtual drive, mount (ISO) image via commandline

Posted on 2006-06-09
8
4,564 Views
Last Modified: 2013-11-15
I want to mount an ISO-file by using a batchfile. In the batchfile a virtual drive is created, the ISO-file mounts, and the program using the ISO-file starts after that. When I quit the program, the ISO-file must be unmounted and the virtual drive must be thrown away. Anyone knows how to do this??
0
Comment
Question by:druppelje
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
8 Comments
 
LVL 88

Accepted Solution

by:
rindi earned 500 total points
ID: 16877299
This is XP, not linux! XP doesn't even know anything about iso files, nor does it know about how to mount such images. So it isn't possible to do this with XP, not even inside the GUI without any batch file!

You might be able to get something similar working by getting 3rd party software, but again I doubt you can get that working via a batch file!

Checkout the following sites for software that can mount iso files:

http://roxio.com/en/index.jhtml;jsessionid=3B0PWRWWTSBT4CQAMYWR3KQ?_requestid=837116
http://www.slysoft.com/en/
http://www.alcohol-soft.com/
0
 
LVL 5

Expert Comment

by:dclive
ID: 16877617
Fortunately for the OP, XP tools allow command line usage as well.  

http://www.daemon-tools.cc/dtcc/showthread.php?t=100 demonstrates the syntax and usage for mounting an ISO using Daemon Tools v4; v4.03 was what I found when I went googling.  

Just follow the syntax in that link and that will do exactly what you need.  If you have any other questions just ask.  Getting that to work in a batch file is trivial.
0
 
LVL 88

Expert Comment

by:rindi
ID: 16877804
daemon-tools isn't native XP, it is a 3rd party app. Actually I think it is included in alcohol (one of my links above), or at least it is similar. At least also that alcohol version can be command-lined. But as I said, it isn't XP...
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 5

Expert Comment

by:dclive
ID: 16877850
But you also said you thought it couldn't be put into a batch file.  It certainly can.  
0
 
LVL 88

Expert Comment

by:rindi
ID: 16877857
That's correct, I didn't bother looking closer.. :(
0
 
LVL 24

Expert Comment

by:Mohammed Hamada
ID: 16878435
0
 
LVL 24

Expert Comment

by:Mohammed Hamada
ID: 16878437
btw, you can use the above link within a batch file then use the mountvol command line to mount and unmount volumes..
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question