Using Notepad++ in Command Prompt and creating files
Sushruth Nagaraj last edited by Sushruth Nagaraj
I’ve somehow managed to open Notepad++ in Command Prompt in Windows 10 with the help of this blog, but now when I try to open Notepad++, it says
C:\Program Files\Notepad++\filename.txt doesn't exist. Create it?and now if I click on yes, it says
Cannot create C:\Program Files\Notepad++\filename.txtand now I’ve realized that I cannot create files in this directory, how can I change it? Is there any way to change the default save directory? or how can I create files in C drive?
Michael Vincent last edited by
You cannot have spaces in your file name. You need to put them in double quotes if so:
C:\my\path\to\notepad++.exe "C:\Program Files\Notepad++\filename.txt"
Sushruth Nagaraj last edited by
Thanks, I’ll check it out.