Windows Path Separators

Cluster focuses on Windows' support for forward slashes (/) as path separators alongside backslashes (\), cross-platform compatibility, and recommendations to use forward slashes for better portability across Windows and Unix-like systems.

📉 Falling 0.3x DevOps & Infrastructure
1,843
Comments
20
Years Active
5
Top Authors
#8608
Topic ID

Activity Over Time

2007
1
2008
2
2009
12
2010
26
2011
31
2012
59
2013
72
2014
77
2015
65
2016
172
2017
99
2018
124
2019
125
2020
145
2021
153
2022
204
2023
173
2024
178
2025
118
2026
7

Keywords

MS ForceTerm UNC CLI python.org RUNPATH FatPacker UNIX PATH CWD windows path paths forward foo file apollo filesystem directory trying help

Sample Comments

craftyguy Jul 12, 2018 View on HN

Always use /Windows can, surprisingly, handle it just fine.

lifthrasiir Nov 2, 2013 View on HN

In Windows backslashes are analogous to slashes in the path.

jl6 Jul 9, 2012 View on HN

Doesn't Windows accept forward slashes in most situations?

AgentME Nov 11, 2015 View on HN

Windows supports regular / symbols in pathnames. What system doesn't?

Osiris Aug 14, 2012 View on HN

How do you type paths in Windows? Do you use the forward slash instead?

xxs Jul 6, 2022 View on HN

point is - it has been possible to use the forward slash in windows for over 20y... except in some UIs that insist that it has to be backslash.

tokenizerrr Aug 10, 2017 View on HN

Using forward slashes on windows will work fine.

DidYaWipe Jun 20, 2024 View on HN

But... does it retain Windows's dumb use of backslashes?

nothrabannosir Jan 25, 2015 View on HN

This repository is Windows only, it uses \ as a path delimiter all over the place. Gives you weird error messages on Linux.Consider using / instead: it is accepted on both Windows and UNIX.

Dylan16807 Dec 1, 2025 View on HN

Please don't repeat some guy's guess about spaces as fact, especially when that's not how windows parses paths.