RosettaCodeData/Task/Get-system-command-output/M2000-Interpreter/get-system-command-output.m2000
2023-07-01 13:44:08 -04:00

12 lines
274 B
Text

Module CheckIt {
Dos "cd "+quote$(Dir$) +" & cmd /U /C dir *.txt >txt.out";
Document txt$
Repeat {
Wait 100
Try {
load.doc txt$, "txt.out"
}
} Until doc.len(txt$)<>0
Report txt$
}
Checkit