open a file with cmd script or batch file
I want to open a file with extension ".ipynb" (EX anyfile.ipynb) in jupyter-lab There are many options I know to do this like... 1)open cmd window in current working directory and execute "jupyter-lab anyfile.ipynb". 2)create cmd script with command "jupyter-lab" in cwd and run it by double click. But I want to do is that convert all .ipynb files to open with a cmd script or batch file that is not in cwd and situated in some folder in C: drive currently all my .ipynb files opens with sublime Image I know I have to change it but for that I have to create a script Question: how to access file(which is called the script) path in cmd script or batch file? https://stackoverflow.com/questions/73677653/open-a-file-with-cmd-script-or-batch-file