DELIPPORT
— Delete TCP/IP
printing ports from the local machine.
Syntax:
DELIPPORT
/N /Y
name…
/N | not really; don’t actually delete ports |
/Y | answer yes to all prompts |
name | the name of the port to delete |
This command only deletes IP printing ports on the local machine. It will not delete other kinds of ports. You cannot delete any port which a printer is currently attached to.
You must provide at least one name. Quote any name which contains spaces or other special characters.
You may specify one or more name parameters
containing wildcards (inclusion masks), e.g. *.45$
to
include ports whose names end in “.45$”. Any port whose name
matches any of the inclusion masks will be deleted. You can also specify
wildcarded names to exclude; precede these with an exclamation point,
e.g. !*LASER*
to exclude all ports whose names contain
the string “Laser”. Exclusion masks override inclusion masks.
Any port whose name matches any exclusion mask will not be deleted, even if
it matches one or more inclusion masks.
If a port name matches a wildcard mask, DELIPPORT
will
prompt before deleting it. Use /Y
to suppress the prompt. If
the port name is an exact match — character-for-character, not
just a wildcard match — you will not be prompted.