| 51707 |
2002-05-31 05:20:00 |
I seem to remember (though I haven't done it for a long time) that the DOS spooler 'print' command will accept redirection. Just do 'print thefile.ext > myfile.txt'. Do *not* call it 'prn.txt' or 'lpt.txt'. DOS has the endearing trick by which it actually writes to the *device* whose name you have started a filename with. So avoid con, aux, com, lpt, prn, nul. (there is one other --- can't think of it).
You might also be able to do 'print thefile.ext > \\server\path\myfile.txt'. |
Guest (0) |