我有这个用于挂载iso文件的脚本
@echo off
set fileiso=%~1
set Exedir="C:\Program Files\OSFMount"
cd /d %Exedir%
osfmount -a -t file -f "%fileiso%" -m #:
如果路径是这样的:(%fileiso%) D:\下载\在\ Iso \ any.iso中有一些iso的另一条路径 不工作
任何帮助请:D
答案 0 :(得分:0)
这对我有用:
@echo off
set "fileiso=%~1"
set Exedir="C:\Program Files\OSFMount"
pushd "%Exedir%"
osfmount -a -t file -f "%fileiso%" -m #:
popd
pause
输出:
C:\Program Files\OSFMount
Creating device...
Created device 1: G: ->
D:\Old C Drive\Users\williamsonm\Downloads\clonezilla-live-20130314-quantal-i386.iso
Notifying applications...
Done.
Press any key to continue . . .