declare x utl_file.file_type; begin x:=utl_file.fopen('cobros','x.txt','w'); utl_file.put_line(x, 'Hola'); utl_file.fclose(x); end; / drop directory cobros; create or replace directory cobros as 'D:/TEXTO/';