Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14134

Setting mongodb editor path in mongorc on windows

    XMLWordPrintable

    Details

    • Operating System:
      Windows

      Description

      http://stackoverflow.com/questions/20026266
      by: MigoFast

      I'm trying to set the path to sublime text editor for mongodb in the .mongorc.js on windows 8 so I add this line to .mongorc.js ...
      EDITOR = "C:
      Program Files
      Sublime Text 3\sublime_text.exe";

      which when I start mongo.exe from the command prompt and then type:
      > edit blah

      it returns:
      'C\Program' is not recognized as an internal or external command

      so I try
      EDITOR = "C:\\Program\u0020Files\\Sublime\u0020Text\u00203
      sublime_text.exe";

      and even
      EDITOR = "C:\\Program%20Files\\Sublime%20Text%203
      sublime_text.exe";

      and I get
      The system cannot find the path specified.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: