In my code...
Dim intFNum As Integer
Dim ID As Integer
intFNum = FreeFile
Open "runme.bat" For Output As #intFNum
Print #intFNum, "dir > log.txt"
Close #intFNum
ID = Shell(fileName, vbNormalFocus)
I want to wait until the log.txt file is read for reading.
I don't want to specify a time, because some computers run very slow, others
fast.
Thanks.
Dim intFNum As Integer
Dim ID As Integer
intFNum = FreeFile
Open "runme.bat" For Output As #intFNum
Print #intFNum, "dir > log.txt"
Close #intFNum
ID = Shell(fileName, vbNormalFocus)
I want to wait until the log.txt file is read for reading.
I don't want to specify a time, because some computers run very slow, others
fast.
Thanks.
Comment