10 REM PC-BASIC test 
20 REM disk operations syntax
25 OPEN "OUTPUT.TXT" FOR OUTPUT AS 1
30 ON ERROR GOTO 10000
100 CHDIR
110 MKDIR
120 RMDIR
130 KILL
200 CHDIR 0
210 MKDIR 0
220 RMDIR 0
230 KILL 0
300 CHDIR ""
310 MKDIR ""
320 RMDIR ""
330 KILL ""
400 CHDIR "a"
410 MKDIR "a"
420 RMDIR "a"
425 RMDIR "b"
430 KILL "a"
440 CHDIR MKDIR
450 KILL RMDIR
1300 CHDIR "" LPRINT
1310 MKDIR "" LPRINT
1320 RMDIR "" LPRINT
1330 KILL "" LPRINT
9999 END
10000 PRINT#1, ERR, ERL
10010 RESUME NEXT
