Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

Delete a network drive after tunnel is disconnected

The script will delete the network drive after the tunnel is disconnected.

<on_disconnect>

<script>

<os>windows</os>

<script>

<script>

<![CDATA[

net use x: /DELETE

]]>

</script>

</script>

</script>

</on_disconnect>

Delete a network drive after tunnel is disconnected

The script will delete the network drive after the tunnel is disconnected.

<on_disconnect>

<script>

<os>windows</os>

<script>

<script>

<![CDATA[

net use x: /DELETE

]]>

</script>

</script>

</script>

</on_disconnect>