SQLite Forum

Strange CLI .exit issue
Login
Do you get the same result if you do not use the pipe but merely attach the file to stdin?

```
ftype sqlite3=cmd.exe /c ""C:\Apps\NTUtils\sqlite.exe" -batch < "%1" %*"
```

Change the specifier for the executable to use your executable.  Also, parsing the redirectors is a shell function, so you must have the shell parse the command line -- you cannot start the executable directly.