How to change working directory in julia with atom


The command to change working directory is cd(dir::AbstractString=homedir()). Can anyone give an example as how to use it?




Thank you. Worked fine. I was trying cd(“D:\study\juliaprog”)
which was giving me error.


Backslashes on Windows: you have to double them.
(“Escape” the backslash.)


cd(“D:\study\juliaprog”) was also not working. Showing error.


or use a Raw String Literal



Worked fine