|
添加右键菜单
reg add "HKLM\SOFTWARE\Classes\WinImage\shell\readonlymount" /f /ve /t REG_SZ /d "自动只读挂载(&R)"
reg add "HKLM\SOFTWARE\Classes\WinImage\shell\readonlymount\command" /f /ve /t REG_SZ /d "%cd%\imdisk.cmd \"%%L\""
imdisk.cmd用7zSfxTool制作成exe后:
reg add "HKLM\SOFTWARE\Classes\WinImage\shell\readonlymount" /f /ve /t REG_SZ /d "自动只读挂载(&R)"
reg add "HKLM\SOFTWARE\Classes\WinImage\shell\readonlymount\command" /f /ve /t REG_SZ /d "%cd%\imdisk.exe \"%%L\""
---------------------------------------------------------------
如何传递参数%%L给用7zSfxTool制作成EXE的批处理脚本?
[ 本帖最后由 singel 于 2013-3-10 23:07 编辑 ] |
|