Added in 1.9.0

$mkfn(filename)

Replaces invalid filename characters with underscore.

Parameters

Parameter Description
filename The filename to format.

Example

; Format the filename 'tes\t.txt' to 'tes_t.txt'
//echo -ag $mkfn(tes\t.txt)