@ and Command Window

CTzen

Member³
Marco,

I just found by chance (probably old news, but I'm excited), that if I type '@' and press Enter in Command Window, PL/SQL Developer shows Open File dialog and let me choose script to run. That's one cool feature, thank you!

Now small request (as always), is it possible to print script filename that I selected?

This is how it looks now
SQL> @

PL/SQL procedure successfully completed

Executed in 2.14 seconds

SQL>
And this how I would like to see it :)

SQL> @C:\longandcombersomepathtothescript\test.sql

PL/SQL procedure successfully completed

Executed in 2.14 seconds

SQL>
 
Back
Top