SQLite Forum

Possible bug in .read when a directory is specified?
Login
On both tests there is a directory 'test' and a file 'test.sql'.

Windows:
```
D:\TEMP>sqlite3 test.db
SQLite version 3.32.3 2020-06-18 14:00:33
Enter ".help" for usage hints.
sqlite> .read test
Error: cannot open "test"
sqlite> .q
```


Linux (WSL):
```
/mnt/d/TEMP$ sqlite3 test.db
SQLite version 3.31.1 2020-01-27 19:55:54
Enter ".help" for usage hints.
sqlite> .read test
sqlite> .q
```

It could be the difference in versions, but it's different.