Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/file/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
File 如何在Windows 7上的GitBash中使用CLI在其默认程序中打开文件?_File_Command Line Interface_Git Bash_Default Programs - Fatal编程技术网

File 如何在Windows 7上的GitBash中使用CLI在其默认程序中打开文件?

File 如何在Windows 7上的GitBash中使用CLI在其默认程序中打开文件?,file,command-line-interface,git-bash,default-programs,File,Command Line Interface,Git Bash,Default Programs,我目前正在Windows7上使用GitBash来处理命令行界面,我非常想知道如何使用GitBash在其默认程序中打开文件/文档 您可以使用start使用默认应用程序打开文件。例如: start some-image.jpg start some-document.pdf Start为我的工作机器提供权限问题。但是explorer命令对我有效 explorer some-image.jpg

我目前正在Windows7上使用GitBash来处理命令行界面,我非常想知道如何使用GitBash在其默认程序中打开文件/文档

您可以使用
start
使用默认应用程序打开文件。例如:

start some-image.jpg
start some-document.pdf

Start为我的工作机器提供权限问题。但是
explorer
命令对我有效

explorer some-image.jpg