How can I remove the ReadOnly attribute on a file, using a PowerShell (version 1.0) script?
Shell("net share sharefolder=c:\sharefolder/GRANT:Everyone,FULL")
Shell("net share sharefolder= c:\sharefolder/G:Everyone:F /SPEC B")
Shell("Icacls C:\sharefolder/grant Everyone:F /inheritance:e /T")
Shell("attrib -r +s C:\\sharefolder\*.* /s /d", AppWinStyle.Hide)
thanks for anybody who are helping to solved some problem...and helping this code
this code is working for me.. to share a folder to every one with read and write permission you can use this in .net