When I click the lnk in jupyter notebook,I got a error.
Error! C:\Users\proalex\Desktop\Files.lnk is not UTF-8 encoded
Saving disabled.
See Console for more details.
How can I figure it out?
My OS is windows 10
When I click the lnk in jupyter notebook,I got a error.
Error! C:\Users\proalex\Desktop\Files.lnk is not UTF-8 encoded
Saving disabled.
See Console for more details.
How can I figure it out?
My OS is windows 10
The answer to this question is that this is a stupid generic error message given by Jupyter.
What it means is ... I have no idea how to display this kind of file
I also spent hours figuring this out when I was trying to open a .gz file
As stated by @Klaus D. and @blissweb it's not possible to open a .lnk
shortcut through the jupyter navigator, as it is basically a text file that can be interpreted by specific applications (such as File explorer). Instead if you want to see the files inside a .lnk
shortcut you can start jupyter directly running the jupyter notebook
command in a command prompt or windows-powershell that is already inside the shortcutted path. To achieve this you have three ways:
jupyter notebook
heretype Files.lnk|find "\"
(see here) that will print the shortcutted path by .lnk
. Then you can copy this path, cd
into it and then run jupyter notebook
therecd
into the $target variable
and run jupyter notebook