One way : ask for HOST pwd > resultfile.txt , and later run a PL/SQL routine to read resultfile.txt via UTL_FILE.

Regards,

Chiappa