|
Rename File or Folder |
Rename a specific file or folder within an existing TTK.
Catalyst /CAT_RENAME TTKName:TTKName FileName:OldFileName RenameTo:NewFileName [/S] [ezLogFile:ezLogFile] [/write] [/open]
or
Catalyst /CAT_RENAME TTKName:TTKName FolderName:OldFolderName RenameTo:NewFolderName [/S] [ezLogFile:ezLogFile] [/write] [/open]
/CAT_RENAME |
Rename a File or Folder from an existing TTK |
TTKName:FName |
Filename of TTK. |
FileName:OldFileName |
Name of the file which should be renamed within the TTK file.
|
FolderName:OldFolderName |
Name of the folder which should be renamed within the TTK file.
|
RenameTo:NewName |
New name of the File or Folder that the resource should be renamed to. |
/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 renamed. |
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. |
Rename the file SDK.chm within the specified TTK, only if found at the exact path from the root of the TTK.
"%CatalystEXE%" /CAT_RENAME TTKName:"MyProject.ttk" FileName:"\Online Help\SDK.chm" RenameTo:"SDKGuide.chm"
Rename the file SetupUI_en.dll within the specified TTK, found one or more times at any level of the TTK file.
"%CatalystEXE%" /CAT_RENAME TTKName:"MyProject.ttk" FileName:"SetupUI_en.dll" RenameTo:"SetupUI_de.dll"
Rename the folder WWW from the TTK, but only found at the exact path from the root of the TTK file.
"%CatalystEXE%" /CAT_RENAME TTKName:"MyProject.ttk" FolderName:"\WWW" RenameTo:"OnlineWeb"
Rename the folder en from the TTK found at any level of the TTK file.
"%CatalystEXE%" /CAT_RENAME TTKName:"MyProject.ttk" FolderName:"en" /S RenameTo:"de"