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)
Section titled “sDirectory (String)”A directory on the disk to be shared
sShareName (String)
Section titled “sShareName (String)”The name for the shared resource
Example
Section titled “Example”If bStatus Then bStatus = File_CreateShare("C:\Windows", "WinShare")