Net Share command ki help se windows computer ke folders ko kaise share kare
How to share folder from command line in Windows : Net Share command एक बहुत ही powerful command है एवं इसको use करके आप windows के बहुत सारे टास्क को command prompt पर परफॉर्म कर सकते है । किसी भी नेटवर्क एंड सिस्टम एडमिन को इन commands की जानकारी होना बहुत जरुरी है क्योकि ये commands day to day life मे बहुत काम के साबित होते है। Net share command की help से आप अपने कंप्यूटर की सभी shared फोल्डर को list कर सकते है, drives and folder share कर सकते है एंड किसी shared folder की sharing remove कर सकते है। इस post मे हम आपको बता रहे है की कैसे आप किसी folder को share करेंगे –
Click Start and open run. Type cmd, right click on cmd and open as administrator privileges.
On the command Prompt type –
net share sharename=folderpath /grant:username,permissions
sharename: आप शेयर किये जाने वाले फोल्डर को कोई भी नाम दे सकते है |
username : जिस user को आप share कर रहे है उसका Login id
permission: जो भी परमिशन आप देना चाह रहे है – Read, Change or Full
Example – मान लेते है की आप D:\Techy ( D Drive पर Techy folder) को domain मे सभी के साथ share करना चाहते है with full permissions तो आप ये command use करेंगे –
net share MyDocs=D:\Techy /grant:everyone,FULL
यहाँ पर simultaneously users कितने भी हो सकते है जो की shared network की performance को प्रभवित करेंगे| आप चाहे तो simultaneously access को limit भी कर सकते है| जैसे की निचे के command मे यह 5 किया गया है –
net share MyDocs=D:\Techy /grant:everyone,FULL /users:5
अगर किसी एक specific user को specific right देना हो तो –
net share MyDocs=D:\Techy /grant:username,READ
Delete ya disable network share with Net share command –
net share Mydocs /delete
Or
net share D:\Techy /delete

How to share folder from command line in Windows net share command