C:\Users\MyAccount\My System Drive - On This PC\FileYay.txt
And when I need to load this file, I can simply do so by using raw infront of it, and it will escape properly.
Then I want to make a plot and use this path as the title, but it just tells me undefined symbol. How can I circumvent this?
Example code:
filepath = raw"C:\Users\MyAccount\My System Drive - On This PC\FileYay.txt"
using Plots
plot()
title!(filepath)
Output:
title!(filepath)
\Users\MyAccount\My System Drive \- On This PC\FileYay.txt: undefined symbol
\Users\MyAccount\My System Drive \- On This PC\FileYay.txt: undefined symbol
\Users\MyAccount\My System Drive \- On This PC\FileYay.txt: undefined symbol
using Plots, LaTeXStrings
filepath = raw"C:\Users\MyAccount\My System Drive - On This PC\FileYay.txt"
plot()
title!(L"\textrm{%$filepath}",titlefontsize=10)