Skip to content

File\_CreateShare

The function creates a file share on a local computer

Syntax

File_CreateShare(sDirectory, sShareName) As Boolean

sDirectory (String)

A directory on the disk to be shared

sShareName (String)

The name for the shared resource

VBScript

If bStatus Then bStatus = File_CreateShare("C:\Windows", "WinShare")

Scripting Guidelines

File functions