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:
Sebastian Bazley 2007-09-02 11:30:55 +00:00
parent be0a85a8f2
commit d1a8a81178
1 changed files with 10 additions and 0 deletions

View File

@ -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