@ac-essentials/misc-util
    Preparing search index...

    Function escapeWin32Path

    • Escapes any characters in a path segment that are not allowed in file or directory names on Windows.

      Parameters

      • str: string

        The path segment to escape

      • replacement: string = "_"

      Returns string

      The escaped path segment