home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 341.img / TCS161S.ZIP / PROCESS1.PAS < prev    next >
Pascal/Delphi Source File  |  1989-10-08  |  265b  |  11 lines

  1.  
  2.   procedure processfile(fn,todir:lstr);
  3.   var fn1:lstr; util:integer;
  4.   begin
  5.     write(^P'  processing...');
  6.     util:=pos('.',fn);
  7.     if util=0 then fn1:=fn else fn1:=copy(fn,1,util-1);
  8.  
  9. exec(getenv('COMSPEC'),' /C PROCESS.BAT '+fn+' '+todir+' '+fn1);
  10.   end;
  11.