79484692

Date: 2025-03-04 19:41:09
Score: 2
Natty:
Report link

Ok so I was experimenting around and found out that if you for example write:

cd("dir:/foldername")

Julia doesn't accept this and tells you that '/foldername' is an invalid escape sequence.

So in order to solve this just use '\\' instead of '/'

cd("dir:\\foldername")

And now if you check pwd() it will tell you that your current working directory is "dir:\\foldername"

So as a beginner it might be a little confusing but it's easy.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: LENIX