Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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