Alex Landry #1 Posted June 8, 2020 I would like to be in DOS and do this. c text.txt, s: This gives me an Error 130 What can I do to resolve this. Thanks Alex Quote Share this post Link to post Share on other sites
+Stephen #3 Posted June 8, 2020 10 hours ago, Alex Landry said: I would like to be in DOS and do this. c text.txt, s: This gives me an Error 130 What can I do to resolve this. Thanks Alex I believe the error 130 is because no filename was specified for the S: (screen) device. Try this: c text.txt, s:text.txt Quote Share this post Link to post Share on other sites
Wrathchild #4 Posted June 8, 2020 I think you are also better off targeting E: over S: (for me the latter displays an inverse space for each end-of-line) Quote Share this post Link to post Share on other sites
Rybags #5 Posted June 8, 2020 (edited) Error 130 is handler doesn't exist. You need an uppercase S. Filename shouldn't be needed, all of the OS-resident handlers ignore them anyway. I used to do such things a lot with S: - easy way to see what's in a file without erasing your program in memory. My preference is for S: over E: - put up with the cursor residuals, as it's usually less annoying than the E: behaviour which is to process every control character - backspace, delete line, move cursor etc. which can turn it into an unreadable experience. Also in Dos 2.x do it without allowing to use program memory - it's usually more desirable anyway to have the short buffering/print sequence as you'll usually just hit Break once you work out what the data is anyway. Edited June 8, 2020 by Rybags 1 Quote Share this post Link to post Share on other sites
Madi #6 Posted June 8, 2020 (edited) 12 hours ago, Alex Landry said: I would like to be in DOS and do this. c text.txt, s: This gives me an Error 130 What can I do to resolve this. Thanks Alex Edit: Deleted .. Same answer provided by @Rybags. madi Edited June 8, 2020 by Madi no need Quote Share this post Link to post Share on other sites
Mathy #7 Posted June 8, 2020 Hello guys And make sure there is no space between the comma and the s. Sincerely Mathy Quote Share this post Link to post Share on other sites