Bug 58415

Summary: JMeter.bat fails if JMETER_BIN is set and bin folder contains spaces
Product: JMeter Reporter: mm kashiwabara <mmkashiwabara>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 2.11   
Target Milestone: ---   
Hardware: PC   
OS: All   

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