Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Share a Folder on a Remote ComputerContent of Share a Folder on a Remote Computer.vbsMD5 Hash: D52FF8C58D5A374E0863CC2579B53E4A |
||
Const FILE_SHARE = 0
Const MAXIMUM_CONNECTIONS = 25 strComputer = "atl-ws-01" Set objWMIService = GetObject _ ("winmgmts:\\" & strComputer & "\root\cimv2") Set objNewShare = objWMIService.Get("Win32_Share") errReturn = objNewShare.Create _ ("C:\Public", "PublicShare", FILE_SHARE, _ MAXIMUM_CONNECTIONS, "Public share for Fabrikam employees.") | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |