File_DeleteShare

Description

Removes a share on a local computer

 

Syntax

File_DeleteShare(sShareName) As Boolean 

 

Parameters

sShareName (String)

Name for the shared resource


Example

VBScript
If bStatus Then bStatus = File_DeleteShare("C:\Shares") 

Scripting Guidelines

 

Related functions

File_CreateShare