REM skopiowac i uruchomic w cmd
REM for %a in (C:\Users\Administrator\Documents\BOL_import\extract\*.htm) do sqlcmd -S. -E -d BOL2 -Q"set nocount on;insert help.files(path,content) select '%a', cast(c as varbinary(max)) from openrowset(bulk '%a', SINGLE_CLOB) as c(c)"
REM albo bezposrednio z batcha, ale wtedy musimy uzyc dwoch znakow %%

for %%a in (C:\Users\Administrator\Documents\BOL_import\extract\*.htm) do sqlcmd -S. -E -d BOL2 -Q"set nocount on;insert help.filesFS(path,content) select '%%a', cast(c as varbinary(max)) from openrowset(bulk '%%a', SINGLE_CLOB) as c(c)"