write dirblock will make a compressed chunk of data out of a directory, are you trying to write a file? or compress a folder?
directorys don`t have output so I think you have your terms muddled.
this will create a file called input_history.txt and save everything you type into it, you can then open it in notepad to read or write another DB program to read it back.
open to write 1,"input_history.txt"
print "enter text and press return, enter the word end in lower case and return to exit"
repeat
input a$
write string 1,a$
until a$="end"
close file 1
print "file closed"
wait key
if thats not what you want then ask again, I am not sure what you are trying to do (you will find the text file inside the DB temp folder).
why do they say Aliens are gonna be friendly?, surely the agressive ones wipe out the peaceloving ones, so all you have left out there are crazed flesh eating interstellar monsters.