Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/4.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
如何在cmdshell中打开html_Shell_Google Chrome_Cmd - Fatal编程技术网

如何在cmdshell中打开html

如何在cmdshell中打开html,shell,google-chrome,cmd,Shell,Google Chrome,Cmd,如何找到html文件并在Chrome中打开它。我以前是联合收割机 启动chrome(dir/b/s*.html) 但不起作用 那么,我如何首先找到html文件并在Chrome中打开它呢?为什么不在循环中使用dir 如果您需要某个子文件夹“GFExperience”中的一些“index.html”,请在上面提供一个示例代码: ::命令行 对于/f“tokens=*delims=\%i in('dir/b/s*.html^ | find/i“GFExperience”^ | find/i“index

如何找到html文件并在Chrome中打开它。我以前是联合收割机

启动chrome(dir/b/s*.html) 但不起作用


那么,我如何首先找到html文件并在Chrome中打开它呢?

为什么不在循环中使用dir

如果您需要某个子文件夹“GFExperience”中的一些“index.html”,请在上面提供一个示例代码:

::命令行
对于/f“tokens=*delims=\%i in('dir/b/s*.html^ | find/i“GFExperience”^ | find/i“index.html”)执行pushd“%~pi”和启动chrome.exe-选项卡“%i”和&popd
::bat文件
对于/f“tokens=*delims=\”%%i in('dir/b/s*.html^ | find/i“GFExperience”^ | find/i“index.html“),请按pushd“%%~pi”&启动chrome.exe-制表符“%%i”&&popd