RosettaCodeData/Task/Get-system-command-output/M2000-Interpreter/get-system-command-output.m2000

13 lines
274 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
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