From c63c0d1cb1e6151d4690c60503920cdfcb7b35dd Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 25 Oct 2014 18:21:52 +0200 Subject: manpage: use the proper environment variable for CSIDL_APPDATA --- DOCS/man/mpv.rst | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'DOCS') 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 ===================== -- cgit v1.2.3