Re: How to tell the end of a shell




"inquirer" <noreply@xxxxxxxxxxx> wrote in message
news:482523c4$0$17507$afc38c87@xxxxxxxxxxxxxxxxxxxxxxx
I have a VB6 program which runs shell which runs another program which in
turn creates a file.

Is there any way I can find out when the shell program has finished
creating the new file?

Thanks
Chris

while you're waiting for a real answer from someone who knows
something...<g>
could you use a timer, check at reasonable increments for the existance of
file,
continue checking for reasonable time period, if no file within set limit,
consider as error?
mark


.



Relevant Pages

  • Re: Full Falcon 1.3 launch video up
    ... :> I'm just a lowly member of the peanut gallery, but everytime I see ... :> someone talking about waiting just a little longer I think about ... :You could solve this with some sort of fancy sensor. ... :complex and prone to failure when compared to a simple timer. ...
    (sci.space.policy)
  • Re: So little time, so much to do!
    ... 15 minute timer when reading my email, etc, bc I lose too much time to ... Which reminds me, I put off scrubbing the sink last night, so I suppose ... Latin could be done while waiting for Art History or Philosophy to start. ...
    (rec.crafts.textiles.needlework)
  • Re: Best option for idle wait
    ... AFAIK there is only one mechanism in windows, ... with a higher resolution than several milliseconds ... and that's the multimedia timer ). ... > cycles and I can't do much else while I am waiting. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: OpenGL driver consumes 100% CPU
    ... One is that the timer may fire while ... you're waiting for the vertical refresh. ...
    (comp.programming.threads)
  • Re: Yet another timers-and-threads question
    ... When the timer expires the virtual function timeout() is called (I ... the idea being to add timeouts to objects of any class running in any ... If your threads are compute-intensive and never waiting -- I believe you can ...
    (microsoft.public.vc.mfc)