File\_CreateShare
Description
Section titled “Description”The function creates a file share on a local computer
Syntax
File_CreateShare(sDirectory, sShareName) As Boolean
Parameter
Section titled “Parameter”sDirectory (String)
A directory on the disk to be shared
sShareName (String)
The name for the shared resource
Example
Section titled “Example”VBScript
If bStatus Then bStatus = File_CreateShare("C:\Windows", "WinShare")Related functions
Section titled “Related functions”