Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to make some command line options (-invert-colors) permanent in my SumatraPDF installation. Is there a configuration (eg. an ini) file I can make SumatraPDF to use?

The manual mentions two settings that are saved persistently into %appdata%\SumatraPDF\sumatrapdfprefs.dat but I can't recognize the format and it doesn't list -invert-colors, so I'm not sure if it's intended to use it as such.

Is this file documented somewhere?

I've checked the installation directory and in HKLM in regedit but found nothing relevant.

share|improve this question
The DAT file can be opened in any text editor, but I think the problem is that only those 2 options are meant to be persisted. I suggest you post in the forum or use their bug tracker. – Karan Jan 10 '13 at 20:42
up vote 1 down vote accepted

modify the key (default) located in the registry here


by default it is like this

"C:\Program Files\SumatraPDF\SumatraPDF.exe" "%1" %*

add -invert-colors and sumatrapdf will always start colors inverted


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.