Setting the current directory

You can set the current working directory by using the setWorkingDirectory() function.

Method summary

setWorkingDirectory() – Set the current working directory

  • returns – None
  • params

-           dirPath – Absolute or relative path of the directory

For instance,

<cfset cfclient.file.setWorkingDirectory(dirPath)>

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy