R
Rich Pasco
I'm trying to run a legacy console (text-mode) executable application
on a Windows XP system with no printer, but it aborts with a "file not
found" error when it tries to open device "PRN:". The XP system has no
parallel port and no ASCII printer; all Windows printing is directed to
Windows network printers. I don't really need to print, I just want my
program to run and not abort.
The problem can also be demonstrated at the command line:
C:\>echo x > PRN:
The system cannot find the file specified.
How can I define PRN: as equivalent to NUL: so that my program will not
abort?
- Rich
on a Windows XP system with no printer, but it aborts with a "file not
found" error when it tries to open device "PRN:". The XP system has no
parallel port and no ASCII printer; all Windows printing is directed to
Windows network printers. I don't really need to print, I just want my
program to run and not abort.
The problem can also be demonstrated at the command line:
C:\>echo x > PRN:
The system cannot find the file specified.
How can I define PRN: as equivalent to NUL: so that my program will not
abort?
- Rich