>I have a .bat file that runs a script file to transfer a file to an sFTP.
>
>My problem is that the .bat file & script run pretty fast, and I don't want the rest of my VFP code that comes after this to run until the script/.bat file is finished.
>
>Right now I'm doing something like this:
>
> = 'bhftp_ScriptRunner.bat'
>Run/N7 &lcDosCommand
if scripting is an option, you can try
loSHell = Createobject('WSCript.Shell')
loShell.Run(lcDosCommand, 0, .t.)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges