First, try to enclose the app full name in quotes because it has space in it. Second, try to specify the full path for the config.fpw
SnapApp = ["C:\Program Files\Cornerstone\SnapClose\SnapClose.exe"]
SnapConfig = [-C"C:\Program Files\Cornerstone\SnapClose\Config.fpw"]
RUN /N &SnapApp &SnapConfig
>To over simplify; I am trying to launch VFP6 from another instance of VFP6 and the second instance is not using its Config.fpw. I don't want to include it in the project.
>
>SnapApp = "C:\Program Files\Cornerstone\SnapClose\SnapClose.exe"
>SnapConfig = '-CConfig.fpw'
>RUN /N &SnapApp &SnapConfig
>
>I launches, but it doesn't use its config file.
>
>I have also tried a ShellExec but the file i need to pass is not a config.fpw file. It is a marker file to the database.
>
>I would like to have shortcuts to the data directories on the users desktop.
>
>Any help would be appreciated.
>
>- jim
--sb--