Network - Unmap Network Drive
Declaration
<AMNETWORK ACTIVITY="disconnect" DRIVELETTER="text" />
Description: Disconnects a currently connected drive from a network path.
Practical Usage
Disconnects a mapped drive.
General Parameters
Property |
Type |
Required |
Default |
Markup |
Description |
---|---|---|---|---|---|
Drive letter |
Text |
Yes |
Z: |
DRIVELETTER="X:" |
The letter to represent the mapped drive to disconnect. The drive letter should always be followed by a colon symbol (e.g., X:). |
Description tab - A custom description can be provided on the Description tab to convey additional information or share special notes about a task step.
Error Causes tab - Specify how this step should behave upon the occurrence of an error. (Refer to Task Builder > Error Causes Tab for details.)
On Error tab - Specify what AWE should do if this step encounters an error as defined on the Error Causes tab. (Refer to Task Builder > On Error Tab for details.)
Example
The sample AML code below can be copied and pasted directly into the Steps panel of the Task Builder.
Description: Disconnect "D:".
<AMNETWORK ACTIVITY="disconnect" DRIVELETTER="D:" />