Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: get directory lisrting on xe
ph írta:
> can you
>
> use the host command
>
> host('dir *.txt > c:\temp\mylist_of_text.txt',no_screen);
>
> u_in_file := UTL_FILE.FOPEN (file);
>
> loop
>
> UTL_FILE.GET_LINE ( u_in_file ,LINEBUF);
>
> etc
>
Seems to be a good idea first, but it seems to me that host is actually a command you can execute at the SQL prompt only and you cannot compile it and use it.... Am I missing something here? Received on Fri Mar 30 2007 - 14:58:29 CDT