|
Delete File or Folder |
Delete a file or folder from an existing TTK file.
Catalyst /CAT_DELETE TTKName:TTKName FileName:File_to_Delete [/S] [ezLogFile:ezLogFile] [/write] [/open]
or
Catalyst /CAT_DELETE TTKName:TTKName FolderName:Folder_to_Delete [/S] [ezLogFile:ezLogFile] [/write] [/open]
/CAT_DELETE |
Delete a File or Folder from an existing TTK |
TTKName:FName |
Filename of TTK. |
FileName:File_to_Delete |
Name of the file which should be deleted from the TTK file.
|
FolderName:Folder_to_Delete |
Name of the folder which should be deleted from the TTK file.
|
/S |
Recurse all sub-folders. If the exact pathname is not specified and /s used, then all files or folders with the specified name will be deleted. |
ezLogFile:ezLogFile |
The user can optionally specify a log file to which results of each Catalyst ezScript command are output. If the log file is not specified by the user or is invalid, the default log file (ezScriptBatchLog.txt in the Public location) is used. |
/write |
The command line which has been processed by Catalyst will be written into the ezScript batch log file. This will help to debug your command if something is not behaving as expected. |
/open |
Launches MS Notepad and displays the content of ezScript batch log when the command finishes. |
Delete the file Catalyst.exe within the specified TTK, only if found at the exact path from the root of the TTK.
"%CatalystEXE%" /CAT_DELETE TTKName:"MyProject.ttk" FileName:"\Application\Catalyst.exe"
Delete the file Catalyst.exe within the specified TTK, found one or more times at any level of the TTK file.
"%CatalystEXE%" /CAT_DELETE TTKName:"MyProject.ttk" FileName:"Catalyst.exe"
Delete the folder WWW from the TTK, but only found at the exact path from the root of the TTK file.
"%CatalystEXE%" /CAT_DELETE TTKName:"MyProject.ttk" FolderName:"\WWW"
Delete the folder de from the TTK found at any level of the TTK file.
"%CatalystEXE%" /CAT_DELETE TTKName:"MyProject.ttk" FolderName:"de" /S