Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Using Notepad++ in Command Prompt and creating files

    Help wanted · · · – – – · · ·
    2
    3
    746
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Sushruth Nagaraj
      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.txt and 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 1 Reply Last reply Reply Quote 0
      • Michael Vincent
        Michael Vincent @Sushruth Nagaraj last edited by

        @Sushruth-Nagaraj

        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.

        Sushruth Nagaraj 1 Reply Last reply Reply Quote 3
        • Sushruth Nagaraj
          Sushruth Nagaraj @Michael Vincent last edited by

          @Michael-Vincent

          Thanks, I’ll check it out.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors