| **Navigation:**  [[advanced topics 1.htm|Advanced Topics]] > Clarion Language Utilities >====== GetTempPath (Return TMP or TEMP environment path) ====== | [[gettempfilename create a temporary filename .htm|{{btn_prev_n.gif|Previous page}}]][[advanced topics 1.htm|{{btn_home_n.gif|Return to chapter overview}}]][[getusername return network user name .htm|{{btn_next_n.gif|Next page}}]] | | || **GETTEMPPATH(** **)** {{blk2blue.jpg|blk2blue.jpg}} **GETTEMPPATH** Returns the name of the path specified by the Windows Environment variables **GETTEMPPATH** is used to return the full path designated by the TMP or TEMP Windows Environment settings.**GETTEMPPATH **returns the first Environment setting it finds. To add support for this utility to your existing applications, you need only include the CWUTIL.INC file in the Global Map section of your program: **INCLUDE('CWUTIL.INC'),ONCE** **Return Data Type:**     STRING **Example:** **   GLO:TempPath = GETTEMPPATH( )   !return environment path**