在Windows 10上使用jmeter GUI将.jmx文件默认打开(双击文件) [英] Make .jmx file to open by default (double click on file) with jmeter GUI on windows 10
问题描述
当我双击它时,我试图使Windows 10用jmeter GUI打开.jmx文件.
I'm trying to make my windows 10 to open .jmx file with jmeter GUI when I double click on it.
我正在使用"apache-jmeter-3.2",当前,为了打开jmx文件,我正在打开jmeter jar"\ apache-jmeter-3.2 \ bin \ ApacheJMeter.jar",然后将jmx文件拖入它.
I' using "apache-jmeter-3.2" and currently, in order to open a jmx file I am opening the jmeter jar "\apache-jmeter-3.2\bin\ApacheJMeter.jar" and then dragging the jmx file into it.
我曾尝试使用Windows的打开方式"功能,但是如果我导航到jar位置并标记为显示所有文件"以查看.jar扩展名并将其选中,它将显示一条Windows消息,提示此应用程序无法在您的PC上运行."
I have tried to use the "open with" windows feature, but if i navigate to the jar location and mark "show all files" in order to see .jar extenstions and select it, it show me a windows message says "this app cannot run on your PC".
推荐答案
-
使用 Assoc 命令为JMeter .jmx脚本设置文件类型关联
Use Assoc command to set file type association for JMeter .jmx scripts
Assoc .jmx=jmeter
使用 FType 命令为.jmx脚本定义JMeter可执行文件
Use FType command to define JMeter executable for the .jmx scripts
FType jmeter="c:\apps\jmeter\bin\jmeter-t.cmd" %1
这篇关于在Windows 10上使用jmeter GUI将.jmx文件默认打开(双击文件)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!