My Oracle Support Banner

SQL*Plus Will Not Execute A File Containing A $ In The Path (Doc ID 2620072.1)

Last updated on MAY 31, 2022

Applies to:

SQL*Plus - Version 19.3 and later
Information in this document applies to any platform.

Symptoms

Environment

SQL*Plus 19.3
Windows 64-bit

Problem

SQL*Plus will not execute a file containing a "$" in the path.

Executing a script using command line SQL*Plus (release 19) on the Windows platform generates the following error when the file name or path includes a "$":

Error

@\\<HOST>\path$\script.sql
SP2-0310: unable to open file "\\<HOST>\path$\script.sql"

Works

1. Earlier releases of SQL*Plus works.

2. If create a new share drive named PATH instead of PATH$, the script will execute.

@\\<HOST>\path\script.sql

Changes

 Upgrade to release 19.x.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.