Table of Contents

Method AppendFileCount

Namespace
Bonsai.IO
Assembly
Bonsai.System.dll

AppendFileCount(string)

Appends a file count suffix to a file name without modifying its original extension.

public static string AppendFileCount(string path)

Parameters

path string

The file name on which to append the suffix.

Returns

string

The new file name where path has been modified to end with the number of files starting with the specified file name in the containing folder but without modifying the file extension.