MKDIR Statement Programming Example This example creates a subdirectory and creates or copies a file in that directory: CLS ' Clear screen PRINT "This program creates a subdirectory named MONTHS," PRINT "then creates or copies a file in that directory." PRINT MKDIR "MONTHS" INPUT "Filename"; File$ IF File$ = "" THEN END OPEN "MONTHS\" + File$ FOR OUTPUT AS #1 PRINT "You have created "; File$; " in directory MONTHS." CLOSE #1