API GETTEMPPATH

Posted by sophie_os on 01-Dec-2011 18:03

hi, how can i use api gettemppath for progress??
gettemppath parameter?
can you send me a example,please?!

All Replies

Posted by olivier.dunemann on 02-Dec-2011 04:07

Here you are.

Save the attached "getTempPathFileName.p" in your "c:\temp", then run this code:

[View:~/cfs-file.ashx/__key/communityserver-discussions-components-files/19/getTempPathFileName.p.zip:550:0]

DEF VAR c AS CHAR NO-UNDO.

RUN c:\temp\getTempPathFileName.p ("" /* Forced TempDir */ , "" /* File Prefix */ , OUTPUT c).

MESSAGE c VIEW-AS ALERT-BOX INFO BUTTONS OK.

This thread is closed