如何在命令行中运行Photoviewer.dll

| 当我在命令提示符下(以管理员身份)在下面运行以下代码时:
\"C:\\Program Files\\Windows Photo Viewer\\PhotoViewer.dll\" \"C:\\00012.tif\"
它产生错误,如下所示:   \“此文件没有与执行此操作相关的程序。请安装一个程序,或者,如果已经安装了一个程序,请在”默认程序“控制面板中创建一个关联程序。”
.tif
.tiff
在“默认程序”控制面板中都关联。 我正在尝试从.net Windows应用程序调用它。 任何帮助表示赞赏。     
已邀请:
           rundll32 \“ C:\\ Program Files \\ Windows Photo Viewer \\ PhotoViewer.dll \” \“ C:\\ 00012.tif \” 要运行dll,请输入
rundll32
。     
        Windows 7的
rundll32 \"%ProgramFiles%\\Windows Photo Viewer\\PhotoViewer.dll\", ImageView_Fullscreen path_to_image
不能引用path_to_image!     
        不必直接运行PhotoViewer,让资源管理器为您完成工作。值得一提的是,据我所知,它可以用于相对路径。
C:\\Users\\alphaniner> explorer Documents\\test.png
    

要回复问题请先登录注册