CheckFilename()

Syntax

Result = CheckFilename(Filename$)
Description
Checks if the specified Filename$ doesn't contain invalid characters for the file-system. For example, on Windows '/' and '\' characters are not allowed in the filename.

Parameters

Filename$ The filename to check without a path.

Return value

Returns nonzero if the filename does not contain invalid characters and zero if it does.

Supported OS

All

FileSystem Index - CopyDirectory() ->