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.

 
PROGRAM FILE_TEST
 
!$INCLUDE="PC.LIB"
 
BEGIN
 
    OPEN("O",#1,"output.txt")
    CLOSE(1)
 
    OS_MKDIR("C:\RC")   ! with the appropriate access rights .......
    OPEN("O",#1,"C:\RC\output.txt")
    CLOSE(1)
 
END PROGRAM
 