How to rename an Alias?

How to rename an Alias?
Would expect (or something like that) to work. Any suggestions?

Get the folderitem via trueChild or trueItem without resolving and then change name.

" This item was deprecated in version 2019r2 .
Please use FolderItem.ChildAt as a replacement."

But will make it work using this. Thanks!

Using API 2.0 is also fine

Pass false for the followAlias parameter.

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.