Alex Landry Posted June 8, 2020 Share 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 Link to comment Share on other sites More sharing options...
Frankie Posted June 8, 2020 Share Posted June 8, 2020 What is S: ? Quote Link to comment Share on other sites More sharing options...
+Stephen Posted June 8, 2020 Share 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 Link to comment Share on other sites More sharing options...
Wrathchild Posted June 8, 2020 Share 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 Link to comment Share on other sites More sharing options...
Rybags Posted June 8, 2020 Share 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 Link to comment Share on other sites More sharing options...
Madi Posted June 8, 2020 Share 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 Link to comment Share on other sites More sharing options...
Mathy Posted June 8, 2020 Share Posted June 8, 2020 Hello guys And make sure there is no space between the comma and the s. Sincerely Mathy Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.