I wrote a program in VC for local network files (all data is stored on that server) and local printing. Since it needs to access network files, in the open dialog box, it is necessary to access the network machine (you need to enter a username and password to enter that server), and then you can access the shared files of the computer. (At this time, an IPC$ connection should have been established, right?).
Since the file is on the network server (ACAD's plt file, which needs to be printed with copy *.plt prn, so I need to use DOS...), I need to use net use z: \\server\data to map the drive letter.
But every time it shows
A system error 1219 occurred.
The provided credentials conflict with the existing credentials set.
Then I changed the command to net use z: \\server\data "" /user:"administrator"
And it shows again
The syntax of this command is:
NET USE ]
username]
username]
| ]
NET USE {devicename | *} /HOME
NET USE
I'm dizzy... I don't know what to do.
Dear DX, please help me.
Since the file is on the network server (ACAD's plt file, which needs to be printed with copy *.plt prn, so I need to use DOS...), I need to use net use z: \\server\data to map the drive letter.
But every time it shows
A system error 1219 occurred.
The provided credentials conflict with the existing credentials set.
Then I changed the command to net use z: \\server\data "" /user:"administrator"
And it shows again
The syntax of this command is:
NET USE ]
username]
username]
| ]
NET USE {devicename | *} /HOME
NET USE
I'm dizzy... I don't know what to do.
Dear DX, please help me.

