share folder on network by command line
Whenever we try to share folder between computers, we need follow the "network setup wizard" step by step. Is there any command line that do not required interactive check to setup the sharing folder? we have try:
netsh -c firewall set opmode disable
netsh -c firewall set service fileandprint enable
net share test1=d:\xtravision\test1 /UNLIMITED
cacls d:\xtravision\test1 /E /T /C /G Everyone:r
cacls d:\xtravision\test1 /E /T /C /G Administrator:F
cacls d:\xtravision\test1 /E /T /C /G System:F
|