Page tree
Skip to end of metadata
Go to start of metadata

Description

The function creates a file share on a local computer


It is not possible to set permissions on the share using CapaInstaller functions


Syntax

File_CreateShare(sDirectory, sShareName) As Boolean


Parameter

sDirectory (String)

A directory on the disk to be shared

sShareName (String)

The name for the shared resource


Example

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

Scripting Guidelines


Related functions

File functions

  • No labels