Forward slash vs Backslash

Backslash (Windows) and Forward Slash (Linux)

The documentation uses backslashes ( \ ) for Windows and forward slashes ( / ) for Linux environments. When the documentation mentions a backslash, the forward slash implicitly applies to Linux.

Does Powershell support Forward Slash

PowerShell allows you to use backslash or forward slash for compatibility with PowerShell on other platforms. This works for PowerShell commands, but may not work when used with native applications that only expect the native directory separator.

Comments