User Tools

Site Tools


gettemppath_return_tmp_or_temp_environment_path_.htm
Navigation:  Advanced Topics > Clarion Language Utilities >====== GetTempPath (Return TMP or TEMP environment path) ====== Previous pageReturn to chapter overviewNext page

GETTEMPPATH( )

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

gettemppath_return_tmp_or_temp_environment_path_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1