summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-25 18:21:52 +0200
committerwm4 <wm4@nowhere>2014-10-25 18:21:52 +0200
commitc63c0d1cb1e6151d4690c60503920cdfcb7b35dd (patch)
tree6182c58e6cc2decd7181b7cfa59186e308e3867c /DOCS/man
parent34f2970157c3100ea4bfe66fef08d4ca74746ca3 (diff)
downloadmpv-c63c0d1cb1e6151d4690c60503920cdfcb7b35dd.tar.bz2
mpv-c63c0d1cb1e6151d4690c60503920cdfcb7b35dd.tar.xz
manpage: use the proper environment variable for CSIDL_APPDATA
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/mpv.rst12
1 files changed, 8 insertions, 4 deletions
diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst
index 82cce2e72d..6fc267d8eb 100644
--- a/DOCS/man/mpv.rst
+++ b/DOCS/man/mpv.rst
@@ -723,14 +723,15 @@ FILES ON WINDOWS
On win32 (if compiled with MinGW, but not Cygwin), the default config file
locations are different:
-``$CSIDL_APPDATA/mpv/mpv.conf``
+``%APPDATA%/mpv/mpv.conf``
Preferred mpv config file. This maps to a system and user-specific path,
- for example ``C:\users\USERNAME\Application Data\mpv\mpv.conf``.
+ for example ``C:\users\USERNAME\Application Data\mpv\mpv.conf``. You can
+ find the exact path by running ``echo %APPDATA%\mpv\mpv.conf`` in cmd.exe.
-``$CSIDL_APPDATA/mpv/input.conf``
+``%APPDATA%/mpv/input.conf``
key bindings (see `INPUT.CONF`_ section)
-``$CSIDL_APPDATA/mpv/lua/``
+``%APPDATA%/mpv/lua/``
equivalent of ``~/.config/mpv/lua/`` on Unix.
The environment variable ``$MPV_HOME`` completely overrides these, like on
@@ -746,6 +747,9 @@ in the same directory as ``mpv.exe``. This used to be the directory with
highest priority, but is now discouraged to use and might be removed in the
future.
+Note that mpv likes to mix ``/`` and ``\`` path separators for simplicity.
+kernel32.dll accepts this, but cmd.exe does not.
+
EXAMPLES OF MPV USAGE
=====================