You can try VFP's KEYBOARD command but may have better luck using the Windows Script Host (WSH). See
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q259103>I'm trying to open an encrypted file, and have to send the password to decrypt it.
>
>VB has a SendKeys() function, but I can't find an equivalent in VFP. Does anyone know if there such a thing, or a detour to get the same result?