Bug 58415 - JMeter.bat fails if JMETER_BIN is set and bin folder contains spaces
Summary: JMeter.bat fails if JMETER_BIN is set and bin folder contains spaces
Status: NEW
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.11
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-15 21:54 UTC by mm kashiwabara
Modified: 2015-09-15 21:54 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mm kashiwabara 2015-09-15 21:54:32 UTC
Need quotes around a couple more paths in jmeter.bat (similar to bug 39677), 

  if .%JM_LAUNCH% == . set JM_LAUNCH=java.exe

should be

  if ".%JM_LAUNCH%" == "." set JM_LAUNCH=java.exe

and
  if .%JMETER_BIN% == . set JMETER_BIN=%~dp0

should be

  if ".%JMETER_BIN%" == "." set JMETER_BIN=%~dp0

Wouldn't so much of a problem except that Windows put a space in the middle of the name for the default program folder....