Jump to content

ControlCommand IsChecked not working


Recommended Posts

I've found an alternative way to do this...

#RequireAdmin
_share_folder("Testy", "c:\test")
MsgBox(0, "", "done")
Exit

Func _share_folder($ShareName, $SharePath)
    If Not(FileExists($SharePath)) Then DirCreate($SharePath)
    RunWait(@ComSpec & " /C net share " & $ShareName & " /delete&net share " & $ShareName & "=" & $SharePath & " /GRANT:Everyone,FULL", "", @SW_HIDE)
EndFunc

 

Back up my hard drive? - I can't even find reverse gear.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...