EN RU
Log in
Home
Download
Purchase
Documentation
Support
Contact us
 
Help  /  Command Reference  /  Files

Rename file or folder

Renames file or folder. The result of this command is written into the variable rename_ok.

Description
Optionally, you may add comments here describing the purpose of this element.

Path
Choose a path to the file.
APPLICATION DATA PATH - Program subfolder in Application Data folder.
CDROM PATH - CD or DVD drive.
CUSTOM PATH - The path must be defined in the filename control.
INSTALL PATH - Default installation path.
SETUP FILE PATH - The path to where setup executable file is running.
SYSTEM PATH - Windows system directory.
TEMPORARY PATH - The temporary folder of the installation #tempinstpath#. It is a subfolder genteeXX in the default temporary user's folder #temppath#.
WINDOWS PATH - Windows directory.

File/Folder Name
The name of the file or folder to be renamed. If you selected CUSTOM PATH, specify the full path to the file or folder.

myfile.txt
myfolder
Rename file or folder command
Rename file or folder command

New File/Folder Name
The new name of the file or folder.

ourfile.txt
ourfolder

If Condition
You can specify a condition that should be met for the action to be performed. If the condition is false then the command is skipped. See How to use If Condition for more details.

Eonza automation software - free, open source cross-platform program for easy creation and management of scripts.
  • Command Reference
    • Application
    • Dialogs
    • Files
      • Backup files
      • Calculate hash
      • Copy Files List
      • Decompress 7z file
      • Decompress ZIP file
      • Share & Permission
      • Temporary Files
      • Copy files
      • Create Folders
      • Decompress CAB file
      • Delete Files
      • Embedded files
      • Get File Information
      • Installation Files
      • Rename file or folder
      • Replace within files
      • Restore Backup Files
      • Search Files & Folders
      • Set File Attributes
      • Decompress Files
      • Wow64Redirection
    • Internet
    • Messages & Sound
    • Programming
    • Register DLL & Fonts
    • Registry & INI
    • System
    • Text Files
    • Uninstaller
    • Variables
Copyright © Novostrim, OOO, 2009-2026 All rights reserved.