找到C:\Program Files (x86)\HP\LoadRunner\WebTours\StartServer.bat
查看内容:
REM getLRpath.exe will create batch file that will set PATH and run Xitami Web Server
REM source of getpath.exe located under debug/GetShortPath.cpp
echo off
setlocal
getLRpath.exe > run.bat
run.bat
原因:下面这三句话无法执行
REM getLRpath.exe will create batch file that will set PATH and run Xitami Web Server
REM source of getpath.exe located under debug/GetShortPath.cpp
echo off
改进:
将下面3句话在cmd中运行,即会出现run.bat
setlocal
getLRpath.exe > run.bat
run.bat