Jump to content
Sign in to follow this  
MrVietA2

Mount ISO by using Autoit ?

Recommended Posts

MrVietA2

Hi everyone !

I try to mount a ISO file to virtual Disk but I can't find any solution. Please help me to find the answer ! Thanks

Share this post


Link to post
Share on other sites
MrVietA2

I find something like this :

3) Command-line support

- A program named isocmd.exe is located in "C:Program FilesUltraISOdrivers" folder, you can use it to mount/unmount ISOs to ISODrive

- Print ISODrive letters

isocmd -print

- Mount command

isocmd -mount drive: file_spec

Example: isocmd -mount L: "d:isosmycd.iso"

- Unmount command

isocmd -eject drive:

Example: isocmd -eject L:

- Change drive letter of ISODrive

isocmd -change device# driveLetter:

Example: isocmd -change 1 F:

$image   = "D:Software FullNew folderVS2010Express1.iso"; Disc Image To Load

; Mount CDDVD Image
; RunWait('isocmd- mount F: ' & '"' & $image & '"' ) doesn't work
; RunWait('C:Program FilesUltraISOdriversIsoCmd.exe isocmd- mount F: ' & '"' & $image & '"' ) doesn't work

How can I use autoit to do it ?

Share this post


Link to post
Share on other sites
GordonFreeman

To run DOS commands, try RunWait(@ComSpec & " /c " & "commandName") ; don't forget " " before "/c"

  • Like 1

Share this post


Link to post
Share on other sites
ripdad

Try this...

Local $image = 'D:Software FullNew folderVS2010Express1.iso'; Disc Image To Load
RunWait('C:Program FilesUltraISOdriversIsoCmd.exe -mount F:"' & $image & '"' )
  • Like 1

"The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward

Share this post


Link to post
Share on other sites
GordonFreeman

EZB Topic says

3) Command-line support

- A program named isocmd.exe is located in "C:Program FilesUltraISOdrivers" folder, you can use it to mount/unmount ISOs to ISODrive

- Print ISODrive letters

isocmd -print

- Mount command

isocmd -mount drive: file_spec

Example: isocmd -mount L: "d:isosmycd.iso"

- Unmount command

isocmd -eject drive:

Example: isocmd -eject L:

- Change drive letter of ISODrive

isocmd -change device# driveLetter:

Example: isocmd -change 1 F:

  • Like 1

Share this post


Link to post
Share on other sites
MrVietA2

I found the answer here :D :

Local $image = 'D:Software FullNew folderVS2010Express1.iso'; Disc Image To Load
;~ RunWait()
ShellExecute('C:Program FilesUltraISOdriversIsoCmd.exe', '-mount G: ' & '"' & $image & '"' )

Thanks all

Share this post


Link to post
Share on other sites
AZJIO

; Run('imdisk.exe -a -f dvd.iso -m #:')

Run('imdisk.exe -a -f dvd.iso -m w:')

Sleep(15000)

Run('imdisk -d -m w:')

Edited by AZJIO

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×