In this task, the job is to create a new empty file called "output.txt" of size 0 bytes
and an empty directory called "docs". This should be done twice: once "here", i.e. in the current working directory and once in the filesystem root.

open "output.txt" for writing as #1
close #1
 
system("mkdir " + "f:\docs")
if open(2, "f:\docs\output.txt") then
    print "Subdirectory or file already exists"
else 
    open "f:\docs\output.txt" for writing as #2
    close #2
end if