I'm trying to execute the "dir" command from inside my PL/SQL script.

If I perform this within SQL*Plus, it's works:

SQL> host dir;

But if I write "host dir;" inside my PL/SQL script, I get this error message:

PLS-00103: Encountered the symbol "dir" when expecting one of the following: := . ( @ % ;

Can I execute OS commands from my PL/SQL script?