Try run your batch files using
API_APPRUN in .VCX form File #
9477.
>Having a problem as a result of the change from Windows 95/98 to Windows 2000. We have an FoxPro app that creates a pair of batch files. The second won't function correctly when executed by FoxPro or VFP, but will when executed directly from Windows2k.
>
>I've tested it to the point putting just the batch execution statement
>
>
! C:\MCC\wf6000 && Second batch file executed.
>
>into a .prg file and running it. Still doesnt' work. Double clicking on the batch file from the Windows Explorer produces a perfect run.
>
>Any suggestions on resolving this?
--sb--