Sorry new with VB and this might be simple or impossible!!!I am trying to use a relative path in an open statemnet to link setup variable to a text file and i dont want it to be an absolute path? How do i do this?
intFile = FreeFile
Open "..\..\..\Folder1\Folder2\Filename.txt" For Output As IntFile
Print #IntFile, "Test Text"
Close intFile
Hope this helps!
Andy
"Logic is invincible because in order to combat logic it is necessary to use logic." -- Pierre Boutroux
"Why does my program keep showing error messages every time something goes wrong?"
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'People who live in windowed environments shouldn't cast pointers.'
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.