C:\Users\Administrator>sqlplus
'sqlplus' is not recognized as an internal or external command,
operable program or batch file.
Windows Server 2016 Datacenter
1 Answer
1. Check the PATH variable. Make sure your ORACLE_HOME\bin is correctly there. Also check your ORACLE_HOME.
How to check that, simply type on a cmd:
echo %PATH%
echo %ORACLE_HOME%
2. then setup:
set PATH=D:\oracle\home\bin;%PATH%
or directly edit Environment Variables, added below command at path:
D:\oracle\home\bin
3. Restart Server
4. Re-check, okay
C:\Users\Administrator>sqlplus
SQL*Plus: Release 19.0.0.0.0 - Production on Fri May 6 19:03:21 2022
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle. All rights reserved.
Enter user-name: