VFP 6 - problem with RUN command



I have a program that builds a batch file on the fly, then executes it:

RUN /n mybatchfile.bat

If I place a SUSPEND command immediately before the RUN command, then in
the debugger, STEP, it works just fine, but under program control it
just blips by so quickly I cannot see what it's doing.

I even went so far as to make the batch file contain one line

PAUSE

which should just display a message asking me to press a key to
continue, but even that doesn't work.

This behavior is exhibited on two different machines, so I confess to
being stumped - any help appreciated.

Thanks in advance.

-S-


.



Relevant Pages

  • Re: Attaching a database
    ... What I mean is that when that batch file is initially executed, by the Wise ... why would it not work if the Wise utility executes it? ... Everything seems to work fine on the install ...
    (microsoft.public.sqlserver.msde)
  • Re: Time service issue after XP3
    ... I wrote a batch file that executes upon start up ... C:\>net start w32time ... one should start an immediate resync process. ...
    (microsoft.public.windowsxp.general)
  • Time service issue after XP3
    ... How do I fix the problem I'm having with the time service? ... I wrote a batch file that executes upon start up to tell ... C:\>net start w32time ...
    (microsoft.public.windowsxp.general)
  • Re: Execute a remote Batch file from an IIS 5.0 Webserver
    ... php pages executes a local batch file to copy data from one network location ... The same batch file executes SUCCESSFULLY when launched from a command ... ISUR_machinename account on the webappVD virtual directory. ... Domain user Account with full access to these network shares. ...
    (microsoft.public.inetserver.iis)
  • Re: Syntax Check
    ... Appreciate if someone could correct the syntax of this batch file. ... is that the parser substitutes for %var% and THEN executes the command, ... Unfortunately, delayed-expansion is an option of the SETLOCAL command, so ...
    (microsoft.public.win2000.cmdprompt.admin)

Loading