Changes the current folder for the running task. Useful in eliminating the need to specify folder locations in subsequent file related steps. Mainly used to change the "current working directory". Required when using relative paths and file names.
Declaration
<AMCHANGEFOLDER FOLDER="text" />
Example
Change to folder "c:\documents\folder1".
<AMCHANGEFOLDER FOLDER="c:\documents\folder1" />
See Also: Split File, Move File, Create Folder, Delete File, Delete Folder, Rename Folder, Remove Folder, Touch File, Set Attributes, Read from File, Write to File, Synchronize Folders, Concatenate Files, Calculate File Checksum
|
Use this action only when necessary, otherwise utilize fully qualified path names such as 'c:\foldername\filename.txt' when performing file related actions. |
Property |
Type |
Required |
Default |
Markup |
Description |
Folder |
Text |
Yes |
(Empty) |
FOLDER="C:\Temp\FolderName" |
Specifies the path and name of the folder to change to. |