Jump to content

Sleep until file exists


Razor
 Share

Recommended Posts

I know this is a simple question, but I tried the following two ways and it doesn't seem to work:

Do

Sleep(5000)

Until FileExists("c:\whatever.txt")

While 0

FileExists("c:\whatever.txt")

Wend

Thanks!

Edited by Razor
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...