I have been using the shell feature in PBDOS to net use printers
and copy files to printers ports. Examples.
NET USE LPT1: \\MAIN\CHECK >NUL
COPY /B Z:\CHECK.TXT LPT1: >NUL
The >NUL is to discard any messages from the net use or copy.
Without it you get message displayed on the screen
We are trying to run the programs unders windows/nt/2000 and the
>nul does not always pick up the message coming back.
Is there any way around this, or should i just save the screen
and restore it after the shell?
------------------
and copy files to printers ports. Examples.
NET USE LPT1: \\MAIN\CHECK >NUL
COPY /B Z:\CHECK.TXT LPT1: >NUL
The >NUL is to discard any messages from the net use or copy.
Without it you get message displayed on the screen
We are trying to run the programs unders windows/nt/2000 and the
>nul does not always pick up the message coming back.
Is there any way around this, or should i just save the screen
and restore it after the shell?
------------------
Comment