Windows Commands: Add a network printer to the Control Panel
CON2PRT-Windows Command
CON2PRT.exe (Zero Admin Kit)
Add a network printer to the Control Panel - Printers folder,
and/or Disconnect a printer.
All commands issued using this utility will affect only the user currently
logged in. Con2prt is therefore ideal for managing NETWORK printer connections
when
used in a login script.
Syntax
CON2PRT /f
CON2PRT /c \\PrintServer\PrintShare
CON2PRT /cd \\PrintServer\PrintShare
Key
/f - remove all network printer connections
/c - connect to \\PrintServer\PrintShare
/cd - connect to and set PrintShare as the default printer
Several switches can be combined in one command line. So you
can remove all connections before adding new ones all in one command, you can
only specify one default printer.
Available for free download at:
Also the freeware utility is
very similar to Con2Prt but has additional functionality, including compatibility
with Windows 9x systems. (it's also a smaller download)
Other Windows 98, Windows XP Commands:
addusers ,
arp ,
assoc ,
associate ,
at ,
attrib ,
browstat ,
cacls ,
call ,
cd ,
change ,
chkdsk ,
chkntfs ,
choice ,
cipher ,
cleanmgr ,
clip ,
cmd ,
color ,
comp ,
con2prt ,
copy ,
date ,
defrag ,
del ,
delprof ,
dir ,
diruse ,
diskcomp ,
diskcopy ,
doskey ,
dsadd ,
dsmod ,
echo ,
endlocal ,
exit ,
expand ,
expand ,
fc ,
fdisk ,
find ,
findstr ,
for ,
forfiles ,
format ,
fsutil ,
ftp ,
ftype ,
global ,
goto ,
help ,
hfnetchk ,
if ,
ifmember ,
ipconfig ,
kill ,
label ,
ldifde ,
local ,
logevent ,
logoff ,
logtime ,
mapisend ,
md ,
mem ,
mode ,
monitor ,
more ,
mountvol ,
move ,
moveuser ,
msg ,
msiexec ,
msinfo32 ,
mstsc ,
munge ,
mv ,
nbtstat ,
net ,
netdom ,
netsh ,
netstat ,
netsvc ,
now ,
nslookup ,
ntbackup ,
ntrights ,
path ,
pathping ,
pause ,
perms ,
ping ,
popd ,
portqry ,
print ,
prncnfg ,
prnmngr ,
prompt ,
pushd ,
qgrep ,
rasdial ,
rasphone ,
rd ,
rdisk ,
recover ,
reg ,
regedit ,
regsvr32 ,
rem ,
ren ,
replace ,
rmtshare ,
robocopy ,
route ,
runas ,
rundll32 ,
sc ,
schtasks ,
sclist ,
scriptit ,
set ,
setlocal ,
setx ,
share ,
shift ,
shortcut ,
showgrps ,
showmbrs ,
shutdown ,
sleep ,
soon ,
sort ,
start ,
su ,
subinacl ,
subst ,
tasklist ,
time ,
timeout ,
title ,
touch ,
tracert ,
type ,
ver ,
verify ,
vol ,
where ,
whoami ,
windiff ,
winmsd ,
winmsdp ,
wmic ,
xcacls ,
xcopy ,
Live2Support.com :