Last updated on
Apr 27, 2021
|
Also applies to ColdFusion
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)> |