upgrade bin\nvmw.bat logic