Hello,
We have an issue relating to 'net use' on Windows NT ver 4, SP 4 and would be grateful for any advice you may have on the matter.
We have a DOS application that has a particular program that automatically prints a report straight to the printer without the option of saving to a file.
We know that we can set up a dummy printer in the control panel and then do a net use command so that the report is captured to a file, the command we use is as follows :
NET USE LPT1: /DELETE
NET USE LPT1: \\computername\generict
It works OK on my computer as my computer name is 10 characters. The computer on which this solution is intended for is about 16 characters in length - so we get the following error :
System error 67 has occurred.
The network name cannot be found.
The computer name can not be shortened due to a standard naming convention within the company.
Does anyone have any ideas?
Thanks.
We have an issue relating to 'net use' on Windows NT ver 4, SP 4 and would be grateful for any advice you may have on the matter.
We have a DOS application that has a particular program that automatically prints a report straight to the printer without the option of saving to a file.
We know that we can set up a dummy printer in the control panel and then do a net use command so that the report is captured to a file, the command we use is as follows :
NET USE LPT1: /DELETE
NET USE LPT1: \\computername\generict
It works OK on my computer as my computer name is 10 characters. The computer on which this solution is intended for is about 16 characters in length - so we get the following error :
System error 67 has occurred.
The network name cannot be found.
The computer name can not be shortened due to a standard naming convention within the company.
Does anyone have any ideas?
Thanks.