File System - Change Folder |
<AMCHANGEFOLDER FOLDER="text" /> |
Description:
Changes the current folder or "working directory" for the running task. This is similar to double-clicking the folder you wish to change to in Windows Explorer or using the Cd or Chdir command in MS-DOS (For example: 'chdir c:\' or 'cd c:\').
NOTE: Use this activity only when necessary, otherwise, specify fully qualified path names such as 'c:\folderName\subFolderName\fileName.txt' when performing file related operations. |
Commonly used to change the working directory when using relative paths.
General
Property |
Type |
Required |
Default |
Markup |
Description |
Folder |
Text |
Yes |
(Empty) |
FOLDER="C:\Temp\FolderName" |
The full path and folder name of the folder to change to. |
NOTE: The sample AML code below can be copied and pasted directly into the Steps panel of the Task Builder. |
Description: Change to folder "c:\documents\folder1".
<AMCHANGEFOLDER FOLDER="c:\documents\folder1" /> |