Solved

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

Posted on 2006-06-09
8
4,550 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
  • 3
  • 2
  • 2
8 Comments
 
LVL 87

Accepted Solution

by:
rindi earned 500 total points
Comment Utility
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
Comment Utility
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 87

Expert Comment

by:rindi
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 5

Expert Comment

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

Expert Comment

by:rindi
Comment Utility
That's correct, I didn't bother looking closer.. :(
0
 
LVL 23

Expert Comment

by:Mohammed Hamada
Comment Utility
0
 
LVL 23

Expert Comment

by:Mohammed Hamada
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now