View Full Version : How do I make an icon that mounts and starts a game?
Hi!
Is there a simple way to:
1. Mount an image/mini image
2. Start up a game
3. Unmount the image when finished playing
Number 1-2 is the most important but 1-3 would be awesome.
I just can't get Daemount to work with right-click mount/unmount nowadays.
Thanks!
Joe Forster/STA
27-03-2006, 07:50
I use batch files for this (and pretty much everything else ;)), using the command line interfaces of Alcohol 120% and Daemon Tools. To mount:
- Alcohol 120%: axcmd 1: /m:"filename"
- Daemon Tools: daemon -mount 0,"filename"
To unmount:
- Alcohol 120%: axcmd 1: /u
- Daemon Tools: daemon -unmount 0
Notes:
- You can find axcmd.exe and daemon.exe in the home directory of the installed software. Call them with a fully qualified filename: "C:\Program Files\Daemon Tools\daemon.exe [...]" or similar.
- These examples (un)mount the first emulated drive; that's what "1:" and "0" stand for. Use "2:" or "1" for the second drive etc.
- Always use fully qualified filenames, along with full path as specifying only the filename of the image may not work otherwise: for Alcohol 120% it definitely won't; for Daemon Tools, it works only if you're in the directory in which the image resides.
Thank you kindly for that information!
I'll try it right away!
One thing though, can the .bat file automatically unmount the image when I'm done playing?
I recommend you to use Daemon Script.You can download it from daemon tools homepage.It works perfect for me.
Neptun:
I found out about Daemoun Script just a minute ago. It works perfect!
Although I'd like to use as few applications as possible, I really like to know how to make a simple batch-file (or script) that can do what I want in my second post?
This worked like a charm!
"C:\XXX\DAEMON Tools\daemon.exe" -mount 0,"X:\The Battle for Middle-Earth I\XXX.mds"
"X:\\The Battle for Middle-Earth I\lotrbfme.exe"
"C:\XXX\DAEMON Tools\daemon.exe" -unmount 0
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.