shell - 'startServer.bat' is not recognized as an internal or external command, -


i facing strange problem. have batch file in windows 7 , when run file double clicking, runs limited access error because resides inside program files.

when right click file , give "run administrator, batch file throws below error.

'startserver.bat' not recognized internal or external command, operable program or batch file. 'wsadmin.bat' not recognized internal or external command, operable program or batch file. 'stopserver.bat' not recognized internal or external command, operable program or batch file. press key continue . . . ` 

below batch file , please check , throw light on it.

@echo off call startserver.bat server1 call wsadmin.bat -f configldap.py call stopserver.bat server1 pause` 

since comment appeared sufficient answer:

the administrator account has different path environmental variable normal user, try making batch file call /path/to/startserver.bat etc


Comments