Difference in what context? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Difference in what context?

Difference between forwardslash (/) and backslash (\) in FILE & URL path.

17th May 2021, 7:26 AM
Arqum Farooq
Arqum Farooq - avatar
1 Answer
+ 1
the difference is that Unix based OS use (/) for their system path like MacOs , Linux Distros , OpenBSD ,.... While windows and MS-DOS OS use (\) for their system path so if you use \ in MacOs for path you'll get an error and visa-versa
17th May 2021, 7:53 AM
Nima