Files

Frends.Files.Rename / 1.1.0

Summary

Changes a file's name in place, leaving it in the same directory.

Typical use — marking a file as claimed or processed without moving it elsewhere

Details

Frends version
5.5 and newer
Agent
Crossplatform
Target framework
net6.0

Input parameters.

Name Type Default Example Description
Path String "c:\temp\foo.txt" c:\root\folder\example.txt

Full path to the file to be renamed.

NewFileName String "bar.txt" newName.txt

The new filename including extension

An unhandled error has occurred. Reload 🗙