Jump to content

Why Won't It Run C:\shared?


Recommended Posts

Why won't this script run C:\Documents and Settings\Christian\Shared?

WinWaitActive( "Shared", "C:\Documents and Settings\Christian\Shared" )
WinClose("Shared", "C:\Documents and Settings\Christian\Shared")
$password = ""
$fpassword = "X"
$input = InputBox("Password", "Password", "", "*", 50,50,50,50)
While 1
    Sleep(1000)
Wend    
GUICtrlRead($input)
If $input = $password Then
    Run("C:\Documents and Settings\Christian\Shared", @SW_MAXIMIZE )
ElseIf $fpassword Then
    MsgBox(0, "Password", "Incorrect password")
EndIf
It does fine until I enter my password, then it doesnt run the folder. Why is this? I know the
$password = ""
needs a password I just took it out because it's my password. Edited by bucky002
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...