FileSch.PAS

Language:
Русский
English

  {FileSch.PAS}
  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
 {Sample code for the FileSearch function.}

  uses WinCrt, WinDos;

 var
   S: array[0..fsPathName] of Char;
 begin
   FileSearch(S, 'TPW.EXE', GetEnvVar('PATH'));
   if S[0] = #0 then
     Writeln('TPW.EXE not found')
   else
     Writeln('Found as ', FileExpand(S, S));
 end.

Тэги:
| G+
Код для вставки: :: :: :: ::
Поделиться: // //