Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Read/Write from User Temp Files Path

Faheem1Aug 21 2007 — edited Aug 21 2007
I 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!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 18 2007
Added on Aug 21 2007
3 comments
490 views