https://github.com/miyako/4d-plugin-rename
Wrapper of standard C rename function
https://github.com/miyako/4d-plugin-rename
4d-plugin
Last synced: 7 days ago
JSON representation
Wrapper of standard C rename function
- Host: GitHub
- URL: https://github.com/miyako/4d-plugin-rename
- Owner: miyako
- License: mit
- Created: 2017-08-28T03:04:10.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-07-29T04:46:44.000Z (almost 4 years ago)
- Last Synced: 2025-02-26T04:18:24.072Z (over 1 year ago)
- Topics: 4d-plugin
- Language: C
- Homepage:
- Size: 3.15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README


[](LICENSE)

# 4d-plugin-rename
Wrapper of standard C [rename](https://msdn.microsoft.com/en-us/library/zw5t957f.aspx) function
## Syntax
```
RENAME (old;new;error)
```
Parameter|Type|Description
------------|------------|----
old|TEXT|old path of file or folder
new|TEXT|new path of file or folder
error|LONGINT|
## Examples
```
$path:=System folder(Desktop)+Generate UUID+Folder separator
CREATE FOLDER($path;*)
RENAME ($path;System folder(Desktop)+Generate UUID;$error)
```