China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-03 20:04
中国DOS联盟论坛 » WinPE、PowerShell及其它命令行系统专区 » Isocmd.exe mounts virtual CD-ROM View 9,232 Replies 19
Original Poster Posted 2009-03-14 06:25 ·  中国 上海 奉贤区 电信
高级用户
★★★
中國DOS聯盟常任參議员
Credits 686
Posts 318
Joined 2005-11-04 13:00
20-year member
UID 77577
Gender Male
Status Offline
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.
Recent Ratings for This Post ( 3 in total) Click for details
RaterScoreTime
yishanju +8 2009-03-14 12:10
tufeiabcd +2 2009-04-03 05:02
523066680 +15 2010-05-10 18:20
Attachments
isocmd.rar (94.74 KiB, Downloads: 509)
. 繽紛色彩閃出的美麗是因為它沒有分開每種色彩...>/

我的百度空间: BEYOND超越 为什么用DOS
Floor 2 Posted 2009-03-14 08:58 ·  中国 江西 赣州 电信
银牌会员
★★★★
Credits 2,025
Posts 1,122
Joined 2007-09-05 20:15
18-year member
UID 96653
Gender Male
Status Offline
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:
reg add HKLM\SYSTEM\CurrentControlSet\Services\ISODrive\Parameters /f /v NumberOfDevices /t reg_dword /d n


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 ]
Recent Ratings for This Post ( 3 in total) Click for details
RaterScoreTime
yishanju +8 2009-03-14 12:10
tufeiabcd +2 2009-04-03 05:02
523066680 +15 2010-05-10 18:20
Floor 3 Posted 2009-03-14 12:01 ·  中国 北京 联通
银牌会员
★★★★
[b]看你妹啊[/b]
Credits 1,488
Posts 1,357
Joined 2006-05-20 12:00
20-year member
UID 55770
Status Offline
Floor 4 Posted 2009-03-17 21:48 ·  中国 上海 奉贤区 电信
高级用户
★★★
中國DOS聯盟常任參議员
Credits 686
Posts 318
Joined 2005-11-04 13:00
20-year member
UID 77577
Gender Male
Status Offline
Oh, so the original -r and these parameters are all abbreviations.
. 繽紛色彩閃出的美麗是因為它沒有分開每種色彩...>/

我的百度空间: BEYOND超越 为什么用DOS
Floor 5 Posted 2009-04-03 05:01 ·  中国 江西 南昌 电信
初级用户
Credits 46
Posts 25
Joined 2008-11-05 20:08
17-year member
UID 130109
Gender Male
Status Offline
What tool do you use to unpack...
Floor 6 Posted 2009-04-12 03:04 ·  中国 香港
初级用户
★★
Credits 159
Posts 83
Joined 2007-11-22 12:24
18-year member
UID 103409
Gender Male
Status Offline
Good stuff, download and try it, thanks!
Floor 7 Posted 2009-04-12 11:15 ·  中国 江西 赣州 电信
新手上路
Credits 18
Posts 10
Joined 2007-02-10 10:25
19-year member
UID 79156
Gender Male
Status Offline
Good stuff...
Floor 8 Posted 2009-04-19 04:02 ·  中国 广东 东莞 电信
初级用户
Credits 50
Posts 44
Joined 2008-12-07 13:05
17-year member
UID 133134
Gender Male
Status Offline
Floor 9 Posted 2009-04-19 04:18 ·  中国 广东 东莞 电信
初级用户
Credits 50
Posts 44
Joined 2008-12-07 13:05
17-year member
UID 133134
Gender Male
Status Offline
Floor 10 Posted 2009-06-07 14:26 ·  中国 广东 东莞 电信
银牌会员
★★★
Credits 1,284
Posts 538
Joined 2002-11-02 00:00
23-year member
UID 129
Gender Male
Status Offline
```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
```
Floor 11 Posted 2009-06-09 23:52 ·  中国 江西 抚州 电信
高级用户
★★★
中國DOS聯盟常任參議员
Credits 686
Posts 318
Joined 2005-11-04 13:00
20-year member
UID 77577
Gender Male
Status Offline
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.
. 繽紛色彩閃出的美麗是因為它沒有分開每種色彩...>/

我的百度空间: BEYOND超越 为什么用DOS
Floor 12 Posted 2009-09-16 05:54 ·  中国 广东 广州 海珠区 电信
新手上路
Credits 3
Posts 2
Joined 2008-02-20 17:21
18-year member
UID 111076
Gender Male
Status Offline
Floor 13 Posted 2009-11-13 15:39 ·  中国 广东 潮州 电信
新手上路
Credits 8
Posts 5
Joined 2009-11-01 12:26
16-year member
UID 153980
Gender Male
Status Offline
Good stuff, give support
Floor 14 Posted 2009-11-13 15:42 ·  中国 广东 潮州 电信
新手上路
Credits 8
Posts 5
Joined 2009-11-01 12:26
16-year member
UID 153980
Gender Male
Status Offline
No way, can't download?
Floor 15 Posted 2010-01-20 18:05 ·  中国 浙江 嘉兴 电信
新手上路
Credits 4
Posts 3
Joined 2009-10-29 15:45
16-year member
UID 153837
Gender Male
Status Offline
Very good, very nice, support!
Can write a small tool for virtual CD-ROM based on this by oneself
Forum Jump: