PDA

View Full Version : Map Printer



vietrungb
11-06-2007, 09:19
Mình tạo 1 file bat sau để tự động map máy in:

@echo off
net use LPT1: /DELETE
net use LPT1: \\192.168.12.183\hp2420 /user:Administrator kh0ngbi@it
pause

Sau khi chạy file này thì màn hình command xuất hiện thông báo:

LPT1 was deleted successfully
The command completed successfully
Press any key to continue . . .

Nhưng khi vào màn hình Printers thì ko thấy máy in nào được map!!!

Mong mọi người giúp đỡ,thanks!!!