Using Notepad++ in Command Prompt and creating files
-
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 saysCannot 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? -
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"Cheers.
-
Thanks, I’ll check it out.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login