Because of the spaces in the path, it has to be enclosed in double quote
lcCmd = ["C:\Program Files\Samsung\PlayCamera\PlayCamera.exe"]
...
>I am attempting to launch a camera application, but keep get the following error:
>
>"The system cannot find the file specified."
>
>I know it is there.
>
>
>lcCmd = "C:\Program Files\Samsung\PlayCamera\PlayCamera.exe"
>loWSH = CREATEOBJECT("WScript.Shell")
>loWSH.RUN(lcCmd)
>
>
>I do not want to use RUN because of the DOS window that appears too. Also, I need the foxpro application to wait until the camera window is closed before proceeding.
--sb--