Thanks dbsquared,
Tried various versions: [fseek 0 0 2] [fseek 0 0 0] etc, but still did not fix overwrite issue. I will work issue later as time permits; have to finish rest of this project and release on 8/1/06.
Fixed original QUESTION #2: Fwrite requires the full pathname to be in the filespec. I used strinsert to put pathname in front of variable containing the .txt file.
Does anyone know how to prevent Fwrite from overwriting the first few lines of text at the top of an existing .txt file?
My...
I fixed Question #1 by testing [set path] SUCCESS earlier at "set path" rather than testing after the file write with ISFILE. If [set path] fails, ProComm correctly just uses the last known good set path.
;;;;;;;;;;;;;;;;;;new test;;;;;;;;;;;;
set capture path LogPath ;Set local LogPath just...
Hello,
This forum has been helpful in keeping my sanity with code syntax. Especially when folks say code works sometimes. This is my first post. Thanks to all for your inputs.
I am monitoring product testing and archiving the results to local C drive path and archiving to a mapped shared drive...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.