Razor Posted October 11, 2005 Share Posted October 11, 2005 (edited) 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 October 11, 2005 by Razor Link to comment Share on other sites More sharing options...
w0uter Posted October 11, 2005 Share Posted October 11, 2005 (edited) while Not FIleExists() Sleep(1000) Wend or while 1 if fileexists() Then exitloop Wend Edited October 11, 2005 by w0uter My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
MHz Posted October 11, 2005 Share Posted October 11, 2005 The Do...Until should work. While 0 is false so it will fail. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now