Jump to content

How do I PAUSE to wait for a large file to save?


Recommended Posts

:) I have an autoit script that is pulling data off a large billing system. After a report compiles in the billing system (started by AUTOIT oc course) it saves the file. After the save is done I want autoit to then continue. How do I make it pause while a DOS window is compiling? Is there a way to do it using explore folders and files?

The place it needs to pause is at the end of this script,. Before is copies the file to the C drive. I have to run this script about 150 times, and would like to find a way to make it pause only until the file is saved. The time is takes varies a great deal. One prov might take 2 minutes, another might take 45 minutes.

GET_P011_AGINGS_ALL_LOCATIONS_ALL.au3

Link to comment
Share on other sites

Hi,

Would

1. Waiting till cmd.exe no longer running help.

OR?

2. wait till filegetsize is zero [or not returning as in use], then wait till not zero, then wait till file getsize not changed over 10 secs etc?

Best, Randall

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...