Geting the refreshed version of a file
Posted on 2004-10-29
First, sorry for my bad english.
How I can get the refreshed version of a file ?
I'm running the sqlldr command from oracle client app to insert data into my database.
I have a batch file that has the following code:
sqlldr email@example.com control=\dbm\ldr\prd.ldr log=\dbm\log\prd.log
then I execute the shell visual basic command:
shell "batchfile.bat > output.txt"
the sqlldr updates the file when ir runs.
With sqlldr running I goto the windows explorer, I open the file and I can see the output.txt contents.
But if in my code i make this:
Open "output.txt" for input access read as #1
line input #1, strString
strstring will be "".
Cand someone help me ?
Thx in advance.