how can I read backslashes in a full directory path? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how can I read backslashes in a full directory path?

I'm trying to separate the path and filename using the backslashes. my code won't acknowledge they're there

3rd Sep 2020, 6:14 PM
Gary Grey
Gary Grey - avatar
2 Answers
+ 1
Mrproex FR I'm trying to read a path as input. I can't double the backslashes if I can't find the single one's
4th Sep 2020, 3:10 PM
Gary Grey
Gary Grey - avatar
0
Double the backslashe : your_path\\your.file
4th Sep 2020, 12:09 PM
Mrproex FR
Mrproex FR - avatar