本帖最后由 爱没来临 于 2018-7-20 15:19 编辑
批处理内
reg add "HKCR\PhotoViewer.FileAssoc.Bitmap\shell\open\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\System32\rundll32.exe \"%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll\", ImageView_Fullscreen %%1" /f
值为
%SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen %1
怎么改成au3的格式呀?
regwrite("HKCR\PhotoViewer.FileAssoc.Bitmap\shell\open\command","","REG_EXPAND_SZ","%SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen %1")
按这样写了,提示错误
cuowu
来个大侠教教我吧
|