Boxlang 1.x Stable Released
BoxLang : A Modern Dynamic JVM Language
LogoLogo
Ctrlk
APIDocsDownloadTrySourceSupport
  • Introduction
  • Getting Started
    • Overview
    • Installation
    • Running BoxLang
    • BoxLang Cloud Servers
    • IDE & Tooling
    • Maven Integration
    • Runtime Configuration
  • BoxLang Language
    • Program Structure
    • Syntax & Semantics
    • Classes & O.O.
    • Reference
      • API Docs
      • Lexical Elements
      • Types
      • Built-in Functions
        • array
        • async
        • binary
        • cache
        • cli
        • conversion
        • decision
        • encryption
        • format
        • i18n
        • io
        • java
        • jdbc
        • list
        • math
        • query
        • runtime
        • scheduler
        • string
        • struct
        • system
          • ApplicationRestart
          • ApplicationStartTime
          • ApplicationStop
          • BoxAnnounce
          • BoxAnnounceAsync
          • BoxModuleReload
          • BoxRegisterInterceptionPoints
          • BoxRegisterInterceptor
          • BoxRegisterRequestInterceptor
          • BoxUnregisterInterceptor
          • BoxUnregisterRequestInterceptor
          • CallStackGet
          • CreateGUID
          • CreateObject
          • CreateUUID
          • DE
          • DebugBoxContexts
          • Dump
          • Duplicate
          • echo
          • EncodeForHTML
          • GetApplicationMetadata
          • GetBaseTagData
          • GetBaseTagList
          • GetBaseTemplatePath
          • GetBoxContext
          • GetBoxRuntime
          • GetBoxVersionInfo
          • GetClassMetadata
          • GetComponentList
          • GetContextRoot
          • GetCurrentTemplatePath
          • GetFileFromPath
          • GetFunctionCalledName
          • GetFunctionList
          • GetModuleInfo
          • GetModuleList
          • GetRequestClassLoader
          • GetSemver
          • GetSystemSetting
          • GetTempDirectory
          • GetTickCount
          • htmlEditFormat
          • IIF
          • Invoke
          • IsInstanceOf
          • JavaCast
          • ObjectDeserialize
          • ObjectSerialize
          • PagePoolClear
          • Print
          • Println
          • RunThreadInContext
          • SessionInvalidate
          • SessionRotate
          • SessionStartTime
          • Sleep
          • SystemCacheClear
          • SystemExecute
          • SystemOutput
          • Throw
          • Trace
          • URLDecode
          • URLEncodedFormat
          • writeDump
          • WriteLog
          • WriteOutput
        • temporal
        • type
        • xml
        • zip
      • Components
      • Exceptions
  • BoxLang Framework
    • BoxLang+
    • Application.bx
    • Async Programming
    • Components
    • Caching
    • File Handling
    • JDBC & Databases
    • Java Interop
    • Interceptors
    • HTTP/S Calls
    • SOAP Web Services
    • Server-Sent Events (SSE)
    • Modules
  • Extra Credit
    • Testing
    • MVC
    • Dependency Injection
Powered by GitBook
On this page
Edit
  1. BoxLang Language
  2. Reference
  3. Built-in Functions
  4. system

GetTempDirectory

Get the system's temporary directory.

Method Signature

GetTempDirectory()

Arguments

This function does not accept any arguments

Examples

Show temp directory path

File system path where temporary files are stored

Run Example

getTempDirectory();

Result: /var/folders/k6/hm9skhxj2dd_901z2f2mkwt00000gn/T/

Additional Examples

Run Example

Related

  • ApplicationRestart

  • ApplicationStartTime

  • ApplicationStop

  • BoxAnnounce

  • BoxAnnounceAsync

  • BoxModuleReload

  • BoxRegisterInterceptionPoints

  • BoxRegisterInterceptor

  • BoxRegisterRequestInterceptor

  • BoxUnregisterInterceptor

  • BoxUnregisterRequestInterceptor

  • CallStackGet

  • CreateGUID

  • CreateObject

  • CreateUUID

  • DE

  • DebugBoxContexts

  • Dump

  • Duplicate

  • echo

  • EncodeForHTML

  • GetApplicationMetadata

  • GetBaseTagData

  • GetBaseTagList

  • GetBaseTemplatePath

  • GetBoxContext

  • GetBoxRuntime

  • GetBoxVersionInfo

  • GetClassMetadata

  • GetComponentList

  • GetContextRoot

  • GetCurrentTemplatePath

  • GetFileFromPath

  • GetFunctionCalledName

  • GetFunctionList

  • GetModuleInfo

  • GetModuleList

  • GetRequestClassLoader

  • GetSemver

  • GetSystemSetting

  • GetTickCount

  • htmlEditFormat

  • IIF

  • Invoke

  • IsInstanceOf

  • JavaCast

  • ObjectDeserialize

  • ObjectSerialize

  • PagePoolClear

  • Print

  • Println

  • RunThreadInContext

  • SessionInvalidate

  • SessionRotate

  • SessionStartTime

  • Sleep

  • SystemCacheClear

  • SystemExecute

  • SystemOutput

  • Throw

  • Trace

  • URLDecode

  • URLEncodedFormat

  • writeDump

  • WriteLog

  • WriteOutput

PreviousGetSystemSettingNextGetTickCount

Last updated 5 months ago

Was this helpful?

LogoLogo

Social Media

  • X
  • FaceBook
  • LinkedIn
  • YouTube

Bug Tracking

  • Runtimes
  • IDE
  • Modules

Support

  • Professional
  • Community
  • Slack

Copyright & Register Trademark by Ortus Solutions, Corp

  • Method Signature
  • Arguments
  • Examples
  • Show temp directory path
  • Additional Examples
  • Related

Was this helpful?

dump( getTempDirectory() );