ex12.pp 292 B

1234567891011121314
  1. Program Example12;
  2. uses Dos;
  3. { Program to demonstrate the FSplit function. }
  4. var
  5. Path,Name,Ext : string;
  6. begin
  7. FSplit(ParamStr(1),Path,Name,Ext);
  8. WriteLn('Splitted ',ParamStr(1),' in:');
  9. WriteLn('Path : ',Path);
  10. WriteLn('Name : ',Name);
  11. WriteLn('Extension: ',Ext);
  12. end.