We can use net share command to create, configure and delete network shares from command line .
1. List the shared created on the local computer
net share
2. Create a network share from command line.
The syntax for creating a share is as follows.
net share sharename=folderpath /grant:username,permissions
For example to share the folder E:\Games with everyone in the domain and to give full permissions.
net share games=E:\games /grant:everyone,full
3. Delete network share(i.e to disable sharing of the folder) from command line
net share sharename /delete
For example, to delete the share created above, the command would be as below.
net share games /delete
Click Here to visit our facebook page and like.
huwag kayo bibili sa worx, digiworx/pcworx. manloloko tao doon, wag din kayo bibili ng hp laptops, hard drive recondition lang, pagnasira kayo pa sisihin
ReplyDeletecopying machine