I know this has been asked before, but I really need help with sending the password with the use of sendkeys. I need to get this done quick, so any help I will appreciate. based on looking through previous post I tried the follwing with no luck. what is the proper code that I will need.

Thanks.

shell "%COMSPEC% /e:1024 /c copy P:\Security_Patches\Windows2000-KB823980-x86-ENU.exe c:\KB823980.exe"
;settitle ("test")
;if setfocus ('test') = 0
shell "%COMSPEC% /e:1024 /c runas /user:@WKSTA\administrator c:\KB823980.exe
sendkeys("password{enter}")
;endif