SP2-0310: Unable To Open SQL Script on Mapped Drive In SQL*Plus On Windows 7

(Doc ID 1450713.1)

Last updated on JUNE 21, 2017

Applies to:

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


Using SQL*Plus 11.2 on Windows 7, get the following error when attempt to open a sql script on a mapped drive:

Sample syntax:

SQL> @p:\netdir\script.sql

However, it works when attempt to run the same script using full network name (UNC path), like:

SQL> @\\mynetbox.com\mydir\netdir\script.sql



 Upgraded to Windows 7 and installed 11G full client (


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms