DIAdem API Reference

Command: FolderRename

  • Updated2023-02-21
  • 3 minute(s) read

Display all  Hide all

Renames a folder.

Call FolderRename(FSSourceName, FSTargetName, [FSProgressBar])

Input Parameters

FSSourceName Specifies the source file or source folder for DIAdem file and folder commands.
FSTargetName Specifies target folders or target files for DIAdem file and folder commands.
[FSProgressBar] Specifies whether the progress bar, which the operating system displays during long operations, is visible. If you assign the value TRUE to the FSProgressBar variable, DIAdem does not display the progress bar. The default value for the FSProgressBar variable is FALSE.
Note  DIAdem renames read-only folders on your computer without requesting confirmation. DIAdem does not rename read only folders in a network.

Example

The following example changes the folder C:\Old_Folder to C:\MyFolder.

VBScriptPython

 

Call FolderRename("C:\Old_Folder","C:\MyFolder")

Related Topics

Command: FolderAttrClear | Command: FolderAttrSet | Command: FolderCopy | Command: FolderCreate | Command: FolderDelete | Command: FolderMove | Command: FolderUnzip | Command: FolderZip | Command: PathAddTrailingBackslash