Dirk,
I tested the code in my module, but I didn't know how to
use it. Could you tell me how to use it in detail?
Thanks.
Tim.
>-----Original Message-----
>"Tim" <(E-Mail Removed)> wrote in message
>news:033801c33cf9$8740a5b0$(E-Mail Removed)
>> Hi everyone,
>>
>> I have the following code in my module.
>>
>>
>>
>> Call Shell("d:\CopyFilesToLocal.bat", vbNormalFocus)
>>
>> Name "c:\temp\test.txt" As "c:\temp\test2.txt"
>>
>> Could anyone tell me how to fire the second command only
>> if the first job was finished?
>>
>> Thanks.
>>
>> Tim.
>
>As an alternative to using the Windows Scripting Host,
you may want to
>consider the API approach published here:
>
> http://www.mvps.org/access/api/api0004.htm
>
>--
>Dirk Goldgar, MS Access MVP
>www.datagnostics.com
>
>(please reply to the newsgroup)
>
>
>.
>