|
原帖由 mzszwh 于 2009-1-1 12:06 发表
在XP.ISO及2003.ISO位置固定的情况下,如在桌面能用快捷方式来直接开打ISO,相对方便了一些
可以用VDM直接开打ISO,例如加载iso为W盘:
@echo off
for %%x in (C D E F G H I J K L M N O P Q R S T U V) DO (
if exist %%x:\工具软件.iso set fn=%%x:\工具软件.iso
if exist %%x:\工具软件.iso GOTO iso
)
goto end
:iso
REG ADD "HKCU\Software\Towodo Software\Virtual Drive Manager\Settings" /f /v MountPrevious /t REG_DWORD /d 1 >nul
REG ADD "HKCU\Software\Towodo Software\Virtual Drive Manager\Settings" /f /v XbtnQuit /t REG_DWORD /d 0 >nul
REG ADD "HKCU\Software\Towodo Software\Virtual Drive Manager\Settings" /f /v LastMounts /t REG_MULTI_SZ /s ! /d W:!自动侦测!%fn%!1 >nul
REG ADD "HKCU\Software\Towodo Software\虚拟驱动器\Settings" /f /v MountPrevious /t REG_DWORD /d 1 >nul
REG ADD "HKCU\Software\Towodo Software\虚拟驱动器\Settings" /f /v XbtnQuit /t REG_DWORD /d 0 >nul
REG ADD "HKCU\Software\Towodo Software\虚拟驱动器\Settings" /f /v LastMounts /t REG_MULTI_SZ /s ! /d W:!自动侦测!%fn%!1 >nul
goto vdm
:vdm
start X:\PROGRAMFILES\VDM\VDM.exe /i
:end |
|