My Oracle Support Banner

SP2-0310: Unable To Open SQL Script on Mapped Drive In SQL*Plus On Windows 7 (Doc ID 1450713.1)

Last updated on APRIL 16, 2021

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> @drive:\networkdirectory\script.sql

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

SQL> @\\<host>\mydir\netdir\script.sql



 Upgraded to Windows 7 and installed 11G full client (


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

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