AHA=)
No I do not use spaces in file names, I just dragged this code in the document word, and therefore turned out spaces in file names. I have already written code search product on its code in the database, that look like works.

function search_tov()
{
var temp;
fhandle = file_open_read("strings1.dll"); // файл содержит: j
j=file_var_read(fhandle); // теперь j
file_close(fhandle);
fhandle = file_open_read("Tovar.dll"); // test.txt содержит "this,was,a,test"
inkey_active=0;inkey(mul);
temp = file_find(fhandle,mul);
if (temp<0) str_cpy(ac,"&#1057;&#1090;&#1088;&#1086;&#1082;&#1072; &#1085;&#1077; &#1085;&#1072;&#1081;&#1076;&#1077;&#1085;&#1072;"); else
str_cpy(ac,"&#1053;&#1072;&#1081;&#1076;&#1077;&#1085;&#1072; &#1089;&#1090;&#1088;&#1086;&#1082;&#1072;:");
for(i=0;i<j;i++)
{
file_str_read( fhandle, acc);
break;
wait(1);
}
file_close(fhandle);
delete_tov();
}