>Whenever I call a DOS batch file from VFP, it runs in a DOS window and then waits for a CTRL-C before proceeding. Is there any way to avoid this? I am trying to automate a process that must have a DOS batch file run.
>
>My code:
>
>lcExe1 = [run postal.bat "mail1120"]
>&lcExe1
>
>(KEYBOARD '{CTRL+C}' does not work)
>
>TIA,
>Steve McMahon
>ZDI
>San Diego
When you say "before proceeding", I assume you mean at the end of the batch file execution, the DOS box presents the Ctrl-C message. If that's the case, you could try putting an "EXIT" command as the last line in your batch file.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only