mirror of https://github.com/apache/jmeter.git
Add check for jmx file extension
git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/branches/rel-2-2@571957 13f79535-47bb-0310-9956-ffa450edef68
Former-commit-id: 17627ce2c4
This commit is contained in:
parent
be0a85a8f2
commit
d1a8a81178
|
|
@ -32,6 +32,16 @@ pause
|
|||
goto END
|
||||
:WinNT
|
||||
|
||||
rem Check file is supplied
|
||||
if a == a%1 goto winNT2
|
||||
rem Check it has extension .jmx
|
||||
if a%~x1 == a.jmx goto winNT3
|
||||
:winNT2
|
||||
echo Please supply a script name with the extension .jmx
|
||||
pause
|
||||
goto END
|
||||
:winNT3
|
||||
|
||||
rem Start in directory with JMX file
|
||||
pushd %~dp1
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue