Use
| Action: | Enables
you to list the current connections. Also enables you to connect a device,
such as a drive or a printer, to a network resource; or to disconnect a
device from a network resource. |
| Syntax: | USE
LIST USE < * | "device" | "resource"> /DELETE [/PERSISTENT] USE ["device"] <"resource"> [/USER:user] [/PASSWORD:password] [/PERSISTENT] |
| Remarks: |
Use USE * /DELETE to delete all current connections except those
to a
NETLOGON share and those to the drive or share from which KiXtart was
started. If a resource name contains
non-alphanumeric characters (such as - or +), you must enclose the name in
quotation marks. On Windows NT-family systems, you can use the /USER
and /PASSWORD parameters, which
allows you to override the security context of the current user. Check the value of @ERROR to see if USE was successful (a value of 0 indicates success).
The "USE *" syntax enables you to redirect the
first available drive to a resource. If redirection is successful, @RESULT
will contain the drive letter of the redirected drive. |
| Examples: |
USE E: "\\SERVER\PUBLIC"
/PERSISTENT USE * @HOMESHR ; connect to user's
home share USE H: @HOMESHR ; connect to user's
home share |