Имя пользователя:
Пароль:
 

Показать сообщение отдельно

Аватара для SkyF

Vladimir


Сообщения: 1070
Благодарности: 17

Профиль | Отправить PM | Цитировать


вот решение из Microsoft Windows 2000 Resource Kit:

Con2Prt.exe (Connect to Printer)
This tool is not covered in w2rktool.chm.

Con2Prt.exe is a command-line tool that provides scriptable functionality to the Add Printer wizard, so that you can simply write a script to add printers on client computers. Con2Prt lets the user disconnect all existing connections to Windows 2000 printers and connect to newly specified Windows 2000 printers. Here is an example of the syntax:

CON2PRT [ /? | /h | /f | [/c \\printserver\share | /cd \\printserver\share]+]

where:
/? - displays usage
/h - displays usage
/f - deletes all existing printer connections
/c - connects to printer at \\printserver\share
/cd - connects to printer at \\printserver\share and sets it as the default printer
Any number of /c and /cd parameters can be specified. However, only the first /cd sets the specified printer as the default.

Use Net View \\printserver to determine available print shares.

-------
любить!!!

Правила , FAQ и решенные темы раздела Windows Server 2003


Отправлено: 16:46, 15-10-2004 | #4