- October 18, 2017 at 6:35 pm #22535
Is it possible to create a command-line for EmEditor that will open a new document in EmEditor and save it to a given path, without any dialogs popping up to the user (e.g. the “The specified file does not exist. Open as a new file?” dialog)?October 19, 2017 at 1:12 pm #22545
You can clear the Prompt when Opening a New File check box in the File page of the Customize dialog box.October 26, 2017 at 6:07 pm #22582
Thanks, that worked!
A related question though:
In an instance of EmEditor on my old computer (latest version of EmEditor also though) I get the dialog “The specified file does not exist. Open as a new file?” if I specify a non-existing file path on the command line to EmEditor, but in my reinstalled instance of EmEditor on my new computer, I instead only get the message “The system cannot find the file specified.” (and then EmEditor doesn’t even start the editor at all), without any option to create this new file at all!? What option did I change in the old install to get the “Open as a new file?” question in this situation?
I’m placing this question on this thread, since it will be important to anyone trying to create a new file from the command line in this manner.
You must be logged in to reply to this topic.