中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-03 18:53
48,038 topics / 350,123 posts / today 0 new / 48,251 members
WinPE、PowerShell及其它命令行系统专区 » Isocmd.exe mounts virtual CD-ROM
Printable Version  9,224 / 19
Floor1 Jneny Posted 2009-03-14 06:25
高级用户 Posts 318 Credits 686
When unpacking the installation package of UltraISO, it is found that the command isocmd.exe -r is used to install the virtual CD - ROM.

After trying one by one, there are really several parameters.
isocmd - r Remove the driver
isocmd - v Display the status
isocmd - q Stop the driver
isocmd - s Start the driver
isocmd - i Install the driver
isocmd - p Display the status.

It can be used alone without UltraISO. When combined with batch processing, it can conveniently mount ISO files.

Others also use it in forums as an external program for mounting WINPE.

The following is the packaged one.

Attachments
isocmd.rar (94.74 KiB)
Floor2 tireless Posted 2009-03-14 08:58
银牌会员 Posts 1,122 Credits 2,025
Execution order of commands:

isocmd -Number n
n is the number of virtual CD-ROM drives to create. Executing this command is equivalent to executing:


isocmd -Install
Create virtual drives.

isocmd -Mount X: xxx.iso
Mount xxx.iso to drive X:.

isocmd -Eject X:
Eject drive X:. That is, unmount the iso file in drive X: and make drive X: an empty drive.

isocmd -Print
Print the version of the isocmd file, the number of created virtual drive letters and the drive letters.

isocmd -Remove
Delete HKLM\SYSTEM\CurrentControlSet\Services\ISODrive and all virtual drives.

[ Last edited by tireless on 2009-3-14 at 09:00 ]
Floor3 yishanju Posted 2009-03-14 12:01
银牌会员 Posts 1,357 Credits 1,488
Floor4 Jneny Posted 2009-03-17 21:48
高级用户 Posts 318 Credits 686
Oh, so the original -r and these parameters are all abbreviations.
Floor5 tufeiabcd Posted 2009-04-03 05:01
初级用户 Posts 25 Credits 46
What tool do you use to unpack...
Floor6 wama Posted 2009-04-12 03:04
初级用户 Posts 83 Credits 159
Good stuff, download and try it, thanks!
Floor7 semirmyway Posted 2009-04-12 11:15
新手上路 Posts 10 Credits 18
Good stuff...
Floor8 DJ131452DJ Posted 2009-04-19 04:02
初级用户 Posts 44 Credits 50
Floor9 DJ131452DJ Posted 2009-04-19 04:18
初级用户 Posts 44 Credits 50
Floor10 chishingchan Posted 2009-06-07 14:26
银牌会员 Posts 538 Credits 1,284
```batch
@echo off
if "%PROCESSOR_ARCHITECTURE:~-2%"=="86" goto 32
if "%PROCESSOR_ARCHITECTURE:~-2%"=="64" goto 64

:32
copy /y ISODrive.sys %SystemRoot%\system32\drivers\>nul 2>nul
goto Common

:64
copy /y ISODrv64.sys %SystemRoot%\system32\drivers\>nul 2>nul

:Common
echo Copying files...
copy /y IsoCmd.exe %SystemRoot%\system32\>nul 2>nul
echo Installing service...
%SystemRoot%\system32\IsoCmd.exe -i>nul 2>nul
echo Setting drive count...
%SystemRoot%\system32\IsoCmd.exe -number 1
echo Setting drive label...
%SystemRoot%\system32\IsoCmd.exe -change 1 X:
echo Associating images...
reg add "HKCR\.bin" /f /ve /t REG_SZ /d "VDI">nul 2>nul
reg add "HKCR\.cue" /f /ve /t REG_SZ /d "VDI">nul 2>nul
reg add "HKCR\.ccd" /f /ve /t REG_SZ /d "VDI">nul 2>nul
reg add "HKCR\.img" /f /ve /t REG_SZ /d "VDI">nul 2>nul
reg add "HKCR\.iso" /f /ve /t REG_SZ /d "VDI">nul 2>nul
reg add "HKCR\.isz" /f /ve /t REG_SZ /d "VDI">nul 2>nul
reg add "HKCR\.mdf" /f /ve /t REG_SZ /d "VDI">nul 2>nul
reg add "HKCR\.mds" /f /ve /t REG_SZ /d "VDI">nul 2>nul
reg add "HKCR\.nrg" /f /ve /t REG_SZ /d "VDI">nul 2>nul
reg add "HKCR\VDI\shell\虚拟光驱(&V)\command" /f /ve /t REG_SZ /d "%SystemRoot%\system32\IsoCmd.exe -mount X: \"%%1\"">nul 2>nul
reg add "HKCR\Drive\shell\卸载光驱(&V)\command" /f /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\IsoCmd.exe -eject X:">nul 2>nul
pause
```
Floor11 Jneny Posted 2009-06-09 23:52
高级用户 Posts 318 Credits 686
How to change the drive name of a virtual CD-ROM. For example, if it's not mounted, it still shows "CD-ROM". If it's mounted, it will show the volume label of the image.
Floor12 8970665 Posted 2009-09-16 05:54
新手上路 Posts 2 Credits 3
Floor13 q54698 Posted 2009-11-13 15:39
新手上路 Posts 5 Credits 8
Good stuff, give support
Floor14 q54698 Posted 2009-11-13 15:42
新手上路 Posts 5 Credits 8
No way, can't download?
Floor15 pennyshen Posted 2010-01-20 18:05
新手上路 Posts 3 Credits 4
Very good, very nice, support!
Can write a small tool for virtual CD-ROM based on this by oneself
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023