When using the SHELL CMD. I am unable to sendkeys to the screen to run an automatic install (Ex. macro)


SHELL ("\\server\software\wb\setup.exe")
SENDKEYS ({TAB})
SENDKEYS ({ENTER})

I want the setup.exe file to start (which it does) and then echo the TAB KEY and then the ENTER key.

What happenes:
It runs the Setup file, but just sittes there. When you exit the setup application, it will then echo the TAB and then the ENTER key.

I need to have it run the SETUP.exe file and send the Keys, TAB and ENTER.

Please help.......
Thanks