从命令行查看Windows7下的图像
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了从命令行查看Windows7下的图像相关的知识,希望对你有一定的参考价值。
Useful to open an image for viewing from the command line under Windows, in this example the image is generated by the GraphViz dot command.
@rem pick a type for the image: @set TYPE=jpeg @rem run the graphviz dot to generate the image of the given type @dot %1.gv -v -o %1.%TYPE% -T%TYPE% @rem can show it using standard Windows image viewer @rundll32.exe %SystemRoot%System32shimgvw.dll, ImageView_Fullscreen %CD%%1.%TYPE% @rem or can show it using the Windows Live Essentials Photo Viewer @rem that ends up with the same as above: @rem rundll32 "%ProgramFiles(x86)%Windows Photo ViewerPhotoViewer.dll",ImageView_Fullscreen %CD%\%1.%TYPE% @rem or can use 3rd party viewer such as IrfanView: @rem "%ProgramFiles(x86)%IrfanViewi_view32.exe" %1.%TYPE% @rem delete the image
以上是关于从命令行查看Windows7下的图像的主要内容,如果未能解决你的问题,请参考以下文章