VBS is a simple text programming language incorporating some of VB language. The files are stored with .vbs extension to execute file from proper language. One reason programmers use VBS is to automate some network settings. Programmers can track network drives when user logs in.

· Right click vbs file to edit and click "Open With." Select Notepad.
· Make network share object. This makes share object. The "strMy_Computer" could be local or network device.
Set objService = GetObject("winmgmts: {impersonationLevel=impersonate}!\\" & strMy_Computer & "\root\cimv2")

· Track share and set it to variable. The first line set up share area. The following code sets it to a variable:
Set objShare = objService.Get("Win32_Share")

· Make share and go back to any error message. The error message variable is used to find any issues while making share. The following code finds errors:
share_error = objNewShare.Create ("C:\Finance", "FinanceShare", 0 , 25 , "Public share")

· Print errors. The following code prints message returned by process. If no errors are there, "Ok" message will come up.
Wscript.Echo share_error