| Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
| Version 1.9 Build 1556 |
|
| Package | utility | |
| Module | catalog | |
| Tool | catalog |
Note that if the new file name already exists confirmation is asked for if the confirm argument is 'yes' (for any file) or 'directory' (for a directory). By default the confirm argument is unset meaning that the default confirmation option (as returned by getconfirm()) is used.
| file | in | File to be renamed | |
| Allowed: | String | ||
| newfile | in | New name of file | |
| Allowed: | String | ||
| confirm | in | Confirmation? | |
| Allowed: | yes, directory, no | ||
| Default: | unset | ||
dc.rename("3C273.restored", "3C273new.restored");