That’s why it is the default start folder for the notebook. The target file you can see here is mentioned as “%USERPROFILE%”, which is indeed the default installation folder for jupyter notebook. Now right-click the application and go to the shortcut tab. Location the jupyter notebook application in your computer
Copy the file in your desktop or any location you want a shortcut of the application. Now navigate to the file location and select the application file like the below image. You need to first locate the jupyter notebook app in your computer by right clicking the application in your menu as shown in the below image. To view the entire list of keyboard shortcuts by going into Command Mode (Press Escape) and then pressing theH key. Here the steps are explained with screenshots from my system. To make things easier Jupyter gives users many keyboard shortcuts. This solution is my favourite and I personally follow this procedure. Creating shortcut with target as the working folder of Jupyter notebook To fix this problem one solution can be to create a batch file with these commands and just run this batch file while you need to work in jupyter notebook. But the problem is that this change is temporary and you have to go through this process every time you open the notebook. This is very effective and changes the start folder for jupyter notebook very easily. Consequently, PowerShell has run the Jupyter notebook with the start folder as mentioned. I have changed the directory to E: and simply run the command jupyter notebook. Here you can see that the default working folder of Jupyter notebook was c:\user\Dibyendu as in the PowerShell. See the below image Running the jupyter notebook with anaconda powershell You need to just change the directory to the desired one there and run Jupyter notebook. The first and the quickest solution is to run your Jupyter notebook right from the Anaconda PowerShell. Try Grammarly here The easiest way: using anaconda powershell Read here my review of using Grammarly for more than two years. It is the best grammar and spellchecker available online.
So, without any further ado, lets jump to the solutions… NB: Being a non-native English speaker, I always take extra care to proofread my articles with Grammarly. I thought to write it down as a blog so that in future I don’t have to waste time again to fix the issue and so my readers. And it took quite a lot of my time to figure out the process which is really helpful. While I searched the internet thoroughly and got many suggestions, very few of them were really helpful. It helps you being organized, all your data science files at one place. Read more about Data Science, Machine Learning(ML), Artificial Intelligence (AI), Deep Learning (DL)Īlthough at the start it did not seem a big problem, as you start using Jupyter on a daily basis, you want it should start from your directory of choice. I have faced this issue myself while working folder of Jupyter notebook, the most preferred IDE of data scientists. This article discussed two very easy fixes for this problem faced by almost all Jupyter notebook users while doing data science projects.