cfclient.file.getWorkingDirectory

Getting the current directory

You can get the current working directory by using the getWorkingDirectory() function.

Method summary

getWorkingDirectory() – Lookup for the current working directory

  • returns – A String containing the path to the current working directory
  • params

-           None.

For instance,

<cfset pwd=cfclient.file.getWorkingDirectory()>

 Adobe

Get help faster and easier

New user?