SQL*Plus (MOSC)

MOSC Banner

SQL*Plus on win10/winserver2012 using Doskey /exename=sqlplus.exe...

edited Jan 13, 2019 1:07AM in SQL*Plus (MOSC) 5 commentsAnswered ✓

Prior to win10, it used to be possible to set up aliases for sqlplus.exe via doskey..

With the advent of win10, "doskey /exename=sqlplus.exe..." macros no longer work in sqlplus.

For example on win7,winserver2008 with sqlplus 11.2.0.1.0, 11.2.0.2.0, 12.1, 12.2, 18c:

C:\>doskey /exename=sqlplus.exe date=$echo %date% %time%C:\>sqlplus /nologSQL*Plus: Release 18.0.0.0.0 - Production on Thu Dec 6 15:24:48 2018Version 18.3.0.0.0Copyright (c) 1982, 2018, Oracle.  All rights reserved.SQL> dateThu 06/12/2018 15:24:41.54SQL>

This has worked from as far back as I can remember... (nt4 and up to win7, earlier versions of sqlplus as well...)

In win10/winserver 2012) with sqlplus 11.2.0.1.0, 12.1, 12.2, 18c:

C:\>doskey /exename=sqlplus.exe date=$echo %date% %time%

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center