Skip to content

escapeWin32Path

escapeWin32Path(str, replacement?): string

Defined in: packages/core/src/system/fs/escape-win32-path.ts:8

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

string

The path segment to escape

string = "_"

string

The escaped path segment