[Tex/LaTex] WinEdt (9) keeps reopening previously opened files

winedt

I'm on Windows 7 with WinEdt 9; I never need/want to use any projects, all I want is to work on one tex file at a time, so when I click on a tex file I want only this file opened by WinEdt. I've used Options Interface Project Manager section (in Application: Projects, Forms, Sounds, …) to edit the Project.ini file, where I've set

RESTORE_OPENED_FILES=0
REOPEN_LAST_PROJECT=0

and

MAINTAIN_PROJECT_LIST=0

but this had no effect — WinEdt keeps reopening all files from the previous session.

In case this is some system-wide Project.ini, I've also edited the Project.ini file in \Users\(me)\AppData\Roaming\WinEdt Team\WinEdt 9\ConfigEx\ but this did not help either.

I vaguely remember achieving what I wanted with a previous version of WinEdt after much blind trial-and-error, but I cannot recover in memory what did finally work.

Does anybody know what shall I do?

Best Answer

The best place where to keep these simple custom changes is the "Private Settings" section of the Option Interface.

To open it, double click on "Private Settings" under "Advanced Configuration" in the Options Interface:

enter image description here

Just after the line

REQUIRES=20111021

insert

[PROJECT_MANAGER*]
RESTORE_OPENED_FILES=0

and then press Shift+Ctrl+F9 to reload the file. This will suffice for your requirement.

If you want, you can also add the lines

REOPEN_LAST_PROJECT=0

or

MAINTAIN_PROJECT_LIST=0

there, but they are superfluous.

Related Question