SQLite Forum

Input from Windows Batch file
Login
I tried the version you posted. This is my session:

~~~~
SQLite version 3.33.0 2020-08-14 13:23:32, except patched
  per https://www.sqlite.org/src/info/6c716f4b556ea8f9  .
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite> .open 'd:/sqlite32/db/techniques.db'
sqlite> .mode column
sqlite> .headers on
sqlite> .read '| "D:/SQLite32/SCRIPTS/Techniques/N Random Records.BAT" blSalesRevenue 3'
Error: near line 2: near "E": syntax error
RecID  SalesPerson  Category    Revenue  Period
-----  -----------  ----------  -------  ------
24     Reynolds     Commercial  489.25   Q2
54     Green        Commercial  150.94   Q2
5      White        Commercial  406.13   Q2
~~~~

It worked except for :

~~~~
Error: near line 2: near "E": syntax error
~~~~

I have VS2019 enterprise (I use C#) - might I have a brief guide on how you compile the source with VS2019, please?