Jump to content

DOS redirecting curses output


Recommended Posts

I'm running MS DOS 6.22 and I have a curses based program to display some information. I would like to know if there's a way to grab that information and output it to a text file. I tried doing something like this:

C:\> myCursesProgram > 1.txt

But it didn't work at all, which I figured would happen. I believe the proram has an option to output that information to a floppy disk. However, I don't know any other computer in the building that has a floppy drive, and I don't know if we have floppy drives to begin with, although they shouldn't be too, too hard to come by. So I was wondering if it's possible to redirect the output that would be going to the floppy to a local text file instead.

Link to comment
Share on other sites

Welcome to the Windows Forum.

Can you describe what happened when "it didn't work"? I would think that the > redirector should do exactly what happened. Writing to a floppy would just be ... > A:\x.txt

If you don't have a floppy, you could always use a USB flash memory stick to transport your output.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy