On Sun, 08 May 2016 15:42:29 +0100, Jeremy Nicoll
<jn.ml.sqlu.725 at letterboxes.org> wrote:

> This doesn't (or does it?) explain why   .output
> "C:\a\valid\path\file.txt"       doesn't work, though.  
> Why would sqlite3 decide that this meant an unpathed file named
> "avalidpathfile.txt" ?

The backslash '\' is an escape character, and would cause the
next character to have a special meaning if it belongs to a
specific set of characters.

Since many years you can safely use forward slashes '/' as a
path separator in MS Windows command lines, except in legacy
utilities that expect the forward slash as an option character
(copy /b ..., dir /s ...  etc.).

"C:/a/valid/path/file.txt" will do fine.

-- 
Kind Regards,

Kees Nuyt

Reply via email to