This page is kind-of a placeholder for my questions and discoveries as I learn CMDR-DOS.
Read the (current) Directory
DOS"$"
Make and Remove a Subdirectory
DOS"MD:dirname"
DOS"RD:dirname"
Change Directory
DOS"CD:dirname"
DOS"CD:.." (to go up one level)
Scratch (delete) Files
DOS"S:filename"
DOS"S:file1,file2,file3,..."
DOS"S//dirname/:filename"
Copy and Concatenate Files
DOS"C:newfile=oldfile"
DOS"C:newfile=oldfile1,oldfile2,oldfile3,..."
Rename a File
DOS"R:newname=oldname"
Lock Files
DOS"L:file1,file2,file3..."
Creating a file in a subdirectory
10 DOS"MD:MY-DIR-001" 20 OPEN1,8,2,"//MY-DIR-001/:MY-FILE-1234,P,W" | |
30 PRINT#1,"HELLO, WORLD!" 40 CLOSE 1 50 OPEN 1,8,2,"//MY-DIR-001/:MY-FILE-1234" 60 INPUT#1,A$ 70 CLOSE 1 | |