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

Setting mongodb editor path in mongorc on windows

    • Windows

      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.

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            xgen-internal-free-support Community Support Automation
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: