Read/Write from User Temp Files Path
Faheem1Aug 21 2007 — edited Aug 21 2007I am trying to write a text file into user temp folder
from one of my forms 9i and if file exist i want to read it from the same path.
As everybody know the temp path
C:\Documents and Settings\faheem\Local Settings\Temp
My query is what i need to use to write my text file into temp Folder
I guess this is wrong which i tried it does'nt work.
OUT_FILE := Text_IO.Fopen('%USERPROFILE%\Local Settings\Temp\tag.txt', 'w');
INFILE:=TEXT_IO.FOPEN('%USERPROFILE%\Local
Settings\Temp\tag.TXT','r');
Provide me the right path.
Thanks in Advance!